diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-09 10:50:14 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-15 20:46:47 -0400 |
commit | 44ee454670122a959112caaa7aad86d8cacab1ff (patch) | |
tree | a1aa8a5a005186669761f206240d8a72b4fb7e1e /ipc/compat.c | |
parent | a78ee9ed2f828e1960f366bf7ab204e7f19924c7 (diff) | |
download | linux-44ee454670122a959112caaa7aad86d8cacab1ff.tar.gz linux-44ee454670122a959112caaa7aad86d8cacab1ff.tar.bz2 linux-44ee454670122a959112caaa7aad86d8cacab1ff.zip |
semtimedop(): move compat to native
... and finally kill the sodding compat_convert_timespec()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/compat.c')
-rw-r--r-- | ipc/compat.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ipc/compat.c b/ipc/compat.c index 871d07da0a52..b17bf93d7b49 100644 --- a/ipc/compat.c +++ b/ipc/compat.c @@ -79,13 +79,3 @@ void to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) to->mode = from->mode; to->seq = from->seq; } - -COMPAT_SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsems, - unsigned, nsops, - const struct compat_timespec __user *, timeout) -{ - struct timespec __user *ts64; - if (compat_convert_timespec(&ts64, timeout)) - return -EFAULT; - return sys_semtimedop(semid, tsems, nsops, ts64); -} |