summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-25 19:32:25 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 15:09:20 -0500
commit28d27f2d25d24ac5dd290b789f3fe9b76590fd95 (patch)
tree0e9d502dea1c07fd103ae54fab3ecde89722a17d /kernel
parent0a0e8cdf734ce723bfc4ca6032ffbc03ce17c642 (diff)
downloadlinux-28d27f2d25d24ac5dd290b789f3fe9b76590fd95.tar.gz
linux-28d27f2d25d24ac5dd290b789f3fe9b76590fd95.tar.bz2
linux-28d27f2d25d24ac5dd290b789f3fe9b76590fd95.zip
switch compat_sys_rt_sigtimedwait to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/compat.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index e2a9c4785988..460e98f8fbf0 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -993,10 +993,9 @@ sigset_to_compat(compat_sigset_t *compat, const sigset_t *set)
}
}
-asmlinkage long
-compat_sys_rt_sigtimedwait (compat_sigset_t __user *uthese,
- struct compat_siginfo __user *uinfo,
- struct compat_timespec __user *uts, compat_size_t sigsetsize)
+COMPAT_SYSCALL_DEFINE4(rt_sigtimedwait, compat_sigset_t __user *, uthese,
+ struct compat_siginfo __user *, uinfo,
+ struct compat_timespec __user *, uts, compat_size_t, sigsetsize)
{
compat_sigset_t s32;
sigset_t s;
@@ -1024,7 +1023,6 @@ compat_sys_rt_sigtimedwait (compat_sigset_t __user *uthese,
}
return ret;
-
}
asmlinkage long