[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <524A3FA1.4010805@asianux.com>
Date: Tue, 01 Oct 2013 11:21:05 +0800
From: Chen Gang <gang.chen@...anux.com>
To: Rob Landley <rob@...dley.net>, Joe Perches <joe@...ches.com>,
'Jiri Kosina' <trivial@...nel.org>,
Michael Kerrisk <mtk.manpages@...il.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Paul McKenney <paulmck@...ux.vnet.ibm.com>,
"dhowells@...hat.com" <dhowells@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>, davej@...hat.com,
Arnd Bergmann <arnd@...db.de>,
David Miller <davem@...emloft.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Li Zefan <lizefan@...wei.com>,
Greg KH <gregkh@...uxfoundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: [PATCH trivial v4] include/uapi/Kbuild: modify comment to provide
summary descriptions for Linux UAPI
UAPI is whole Linux kernel API, it is important enough to get summary
descriptions by comments.
In "include/uapi/Kbuild", "Makefile..." and "non-arch..." comments are
historical, at present, they need be improved.
Also add more explanations for "include/uapi/" in "include/uapi/Kbuild".
Signed-off-by: Chen Gang <gang.chen@...anux.com>
---
include/uapi/Kbuild | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/include/uapi/Kbuild b/include/uapi/Kbuild
index 81d2106..f396115 100644
--- a/include/uapi/Kbuild
+++ b/include/uapi/Kbuild
@@ -1,6 +1,15 @@
# UAPI Header export list
-# Top-level Makefile calls into asm-$(ARCH)
-# List only non-arch directories below
+#
+# UAPI ("Userspace API") is in "include/uapi/" and "arch/*/include/uapi/",
+# which will be installed to "/usr/include".
+#
+# Linux generic (architecture independent) UAPI is at "include/uapi/".
+# Except "linux/", other current level sub-directories are for compatibility.
+# It will not accept new additional current level sub-directories or files.
+#
+# "Architecture Specific Mechanism" UAPI is at "arch/*/include/uapi/".
+# Each architecture must have "arch/*/include/uapi/asm" sub-directory.
+# If architecture permits, it can content additional sub-directories.
header-y += asm-generic/
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists