summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2004-02-22 21:28:40 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-22 21:28:40 -0800
commit5da0c2c3b175c1217e5e4890c898628ca2a6bd22 (patch)
treeeface0ee25a8abb40d03ba10d27f9dba54502aae /kernel
parent8b7667947a780c03424c2370a43a893f5d020d47 (diff)
[PATCH] rename shmat to make it clear it isn't a system call entrypoint
This renames sys_shmat to do_shmat. Additionally, I've replaced the cond_syscall with a conditional inline function. It touches all archs - only i386 is tested.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index af74b802c5d1..33a14e13079e 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -258,7 +258,6 @@ cond_syscall(sys_msgsnd)
cond_syscall(sys_msgrcv)
cond_syscall(sys_msgctl)
cond_syscall(sys_shmget)
-cond_syscall(sys_shmat)
cond_syscall(sys_shmdt)
cond_syscall(sys_shmctl)