aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/Kbuild
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-05-13 22:56:28 +0000
committerArnd Bergmann <arnd@klappe2.(none)>2009-06-11 21:02:16 +0200
commite64a1617eca39d62b248a11699de9c1195369661 (patch)
tree41e9b99b647b66256ed9e72c183929b57ead91a0 /include/asm-generic/Kbuild
parentasm-generic: add generic ABI headers (diff)
downloadlinux-dev-e64a1617eca39d62b248a11699de9c1195369661.tar.xz
linux-dev-e64a1617eca39d62b248a11699de9c1195369661.zip
asm-generic: add a generic unistd.h
A new architecture should only define a minimal set of system calls while still providing the full functionality. This version of unistd.h has gone through intensive review to make sure that by default it only enables syscalls that do not already have a more featureful replacement. It is modeled after the x86-64 version of unistd.h, which unifies the syscall number definition and the actual system call table in a single file, in order to keep them synchronized much more easily. This first version still keeps legacy system call definitions around, guarded by various #ifdefs, and with numbers larger than 1024. The idea behind this is to make it easier for new architectures to transition from a full list to the reduced set. In particular, the new microblaze architecture that should migrate to using the generic ABI headers can at least use an existing uClibc source tree without major rewrites during the conversion. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--include/asm-generic/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 11a78b8e2fc9..eb62334cda29 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -27,6 +27,7 @@ header-y += termbits.h
header-y += termios.h
header-y += types.h
header-y += ucontext.h
+header-y += unistd.h
unifdef-y += int-l64.h
unifdef-y += int-ll64.h