summaryrefslogtreecommitdiff
path: root/arch/ppc/kernel/misc.S
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-03-13 03:25:58 -0800
committerLen Brown <len.brown@intel.com>2004-03-13 03:25:58 -0800
commitd1dbcdee71f00e0e4c4422d678ea4d4ced30212a (patch)
treea76a2f8cab41669ac6a741235b13acd9c1f80cfe /arch/ppc/kernel/misc.S
parent214b914e1efb03b22cc5009a6f5d78f8df91686c (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.S10
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