summaryrefslogtreecommitdiffstats
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-01-21 17:18:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-03-03 22:58:30 -0500
commit22d1a35da0e247a006c286842a1846acb4ffed4f (patch)
tree45f85354e11a45903a7789169d09e90f1190b5fb /ipc/sem.c
parente1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea (diff)
downloadlinux-22d1a35da0e247a006c286842a1846acb4ffed4f.tar.gz
linux-22d1a35da0e247a006c286842a1846acb4ffed4f.tar.bz2
linux-22d1a35da0e247a006c286842a1846acb4ffed4f.zip
make HAVE_SYSCALL_WRAPPERS unconditional
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/sem.c')
-rw-r--r--ipc/sem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipc/sem.c b/ipc/sem.c
index 58d31f1c1eb5..e7236df7a470 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -1156,13 +1156,11 @@ SYSCALL_DEFINE(semctl)(int semid, int semnum, int cmd, union semun arg)
return -EINVAL;
}
}
-#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
asmlinkage long SyS_semctl(int semid, int semnum, int cmd, union semun arg)
{
return SYSC_semctl((int) semid, (int) semnum, (int) cmd, arg);
}
SYSCALL_ALIAS(sys_semctl, SyS_semctl);
-#endif
/* If the task doesn't already have a undo_list, then allocate one
* here. We guarantee there is only one thread using this undo list,