diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-01-21 17:18:07 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-03 22:58:30 -0500 |
commit | 22d1a35da0e247a006c286842a1846acb4ffed4f (patch) | |
tree | 45f85354e11a45903a7789169d09e90f1190b5fb /ipc | |
parent | e1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 | ||
1160 | asmlinkage long SyS_semctl(int semid, int semnum, int cmd, union semun arg) | 1159 | asmlinkage 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 | } |
1164 | SYSCALL_ALIAS(sys_semctl, SyS_semctl); | 1163 | SYSCALL_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, |