diff options
Diffstat (limited to 'ipc/compat.c')
-rw-r--r-- | ipc/compat.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ipc/compat.c b/ipc/compat.c index 0586687c3e31..871d07da0a52 100644 --- a/ipc/compat.c +++ b/ipc/compat.c | |||
@@ -80,22 +80,6 @@ void to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) | |||
80 | to->seq = from->seq; | 80 | to->seq = from->seq; |
81 | } | 81 | } |
82 | 82 | ||
83 | #ifndef COMPAT_SHMLBA | ||
84 | #define COMPAT_SHMLBA SHMLBA | ||
85 | #endif | ||
86 | |||
87 | COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg) | ||
88 | { | ||
89 | unsigned long ret; | ||
90 | long err; | ||
91 | |||
92 | err = do_shmat(shmid, compat_ptr(shmaddr), shmflg, &ret, COMPAT_SHMLBA); | ||
93 | if (err) | ||
94 | return err; | ||
95 | force_successful_syscall_return(); | ||
96 | return (long)ret; | ||
97 | } | ||
98 | |||
99 | COMPAT_SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsems, | 83 | COMPAT_SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsems, |
100 | unsigned, nsops, | 84 | unsigned, nsops, |
101 | const struct compat_timespec __user *, timeout) | 85 | const struct compat_timespec __user *, timeout) |