diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-03-13 03:25:58 -0800 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2004-03-13 03:25:58 -0800 |
| commit | d1dbcdee71f00e0e4c4422d678ea4d4ced30212a (patch) | |
| tree | a76a2f8cab41669ac6a741235b13acd9c1f80cfe /init/initramfs.c | |
| parent | 214b914e1efb03b22cc5009a6f5d78f8df91686c (diff) | |
[PATCH] further __KERNEL_SYSCALLS__ removal
From: Arnd Bergmann <arnd@arndb.de>
Dave Jones already removed some of the useless __KERNEL_SYSCALLS__ defines
in various files, this gets rid of almost all the others. Replacing
execve() is nontrivial, so I left those in for now.
For all the other system calls that are currently used from inside the
kernel, calling the sys_* function directly should always have an identical
effect.
Diffstat (limited to 'init/initramfs.c')
| -rw-r--r-- | init/initramfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/init/initramfs.c b/init/initramfs.c index 7608b019137c..d0ce3884bc9d 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -1,10 +1,8 @@ -#define __KERNEL_SYSCALLS__ #include <linux/init.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/fcntl.h> -#include <linux/unistd.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/syscalls.h> |
