aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
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
parente1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea (diff)
make HAVE_SYSCALL_WRAPPERS unconditional
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc')
-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)
1156 return -EINVAL; 1156 return -EINVAL;
1157 } 1157 }
1158} 1158}
1159#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
1160asmlinkage long SyS_semctl(int semid, int semnum, int cmd, union semun arg) 1159asmlinkage long SyS_semctl(int semid, int semnum, int cmd, union semun arg)
1161{ 1160{
1162 return SYSC_semctl((int) semid, (int) semnum, (int) cmd, arg); 1161 return SYSC_semctl((int) semid, (int) semnum, (int) cmd, arg);
1163} 1162}
1164SYSCALL_ALIAS(sys_semctl, SyS_semctl); 1163SYSCALL_ALIAS(sys_semctl, SyS_semctl);
1165#endif
1166 1164
1167/* If the task doesn't already have a undo_list, then allocate one 1165/* If the task doesn't already have a undo_list, then allocate one
1168 * here. We guarantee there is only one thread using this undo list, 1166 * here. We guarantee there is only one thread using this undo list,