diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/compat.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 79a4781ac502..2bfe67329dc4 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -311,22 +311,13 @@ asmlinkage long | |||
311 | compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, | 311 | compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, |
312 | compat_size_t __user *len_ptr); | 312 | compat_size_t __user *len_ptr); |
313 | 313 | ||
314 | #ifdef CONFIG_ARCH_WANT_OLD_COMPAT_IPC | ||
315 | long compat_sys_semctl(int first, int second, int third, void __user *uptr); | ||
316 | long compat_sys_msgsnd(int first, int second, int third, void __user *uptr); | ||
317 | long compat_sys_msgrcv(int first, int second, int msgtyp, int third, | ||
318 | int version, void __user *uptr); | ||
319 | long compat_sys_shmat(int first, int second, compat_uptr_t third, int version, | ||
320 | void __user *uptr); | ||
321 | asmlinkage long compat_sys_ipc(u32, int, int, u32, compat_uptr_t, u32); | 314 | asmlinkage long compat_sys_ipc(u32, int, int, u32, compat_uptr_t, u32); |
322 | #else | 315 | asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg); |
323 | long compat_sys_semctl(int semid, int semnum, int cmd, int arg); | 316 | asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg); |
324 | long compat_sys_msgsnd(int msqid, struct compat_msgbuf __user *msgp, | 317 | asmlinkage long compat_sys_msgsnd(int msqid, compat_uptr_t msgp, |
325 | compat_ssize_t msgsz, int msgflg); | 318 | compat_ssize_t msgsz, int msgflg); |
326 | long compat_sys_msgrcv(int msqid, struct compat_msgbuf __user *msgp, | 319 | asmlinkage long compat_sys_msgrcv(int msqid, compat_uptr_t msgp, |
327 | compat_ssize_t msgsz, long msgtyp, int msgflg); | 320 | compat_ssize_t msgsz, long msgtyp, int msgflg); |
328 | long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg); | ||
329 | #endif | ||
330 | long compat_sys_msgctl(int first, int second, void __user *uptr); | 321 | long compat_sys_msgctl(int first, int second, void __user *uptr); |
331 | long compat_sys_shmctl(int first, int second, void __user *uptr); | 322 | long compat_sys_shmctl(int first, int second, void __user *uptr); |
332 | long compat_sys_semtimedop(int semid, struct sembuf __user *tsems, | 323 | long compat_sys_semtimedop(int semid, struct sembuf __user *tsems, |