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 /arch/ppc/kernel/misc.S | |
| 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 'arch/ppc/kernel/misc.S')
| -rw-r--r-- | arch/ppc/kernel/misc.S | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S index be626a03006a..9d9023e0ff77 100644 --- a/arch/ppc/kernel/misc.S +++ b/arch/ppc/kernel/misc.S @@ -1108,17 +1108,7 @@ _GLOBAL(name) \ li r3,-1; \ blr -#define __NR__exit __NR_exit - -SYSCALL(setsid) -SYSCALL(open) -SYSCALL(read) -SYSCALL(write) -SYSCALL(lseek) -SYSCALL(close) -SYSCALL(dup) SYSCALL(execve) -SYSCALL(waitpid) /* Why isn't this a) automatic, b) written in 'C'? */ .data |
