summaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-26 04:41:01 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-04 00:09:21 +0400
commit5cf22100229b855bc4559dccfd8d7cb7266f99f5 (patch)
tree5d20e3131e7a84d88601c5debb68eeeee0d56316 /kernel/compat.c
parent28d27f2d25d24ac5dd290b789f3fe9b76590fd95 (diff)
downloadlinux-5cf22100229b855bc4559dccfd8d7cb7266f99f5.tar.xz
switch compat_sys_sigprocmask to COMPAT_SYSCALL_DEFINE
In principle, C ABI violation on ppc and mips... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/compat.c')
-rw-r--r--kernel/compat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index 460e98f8fbf0..a53b04a2b5eb 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -381,9 +381,9 @@ static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set)
memcpy(blocked->sig, &set, sizeof(set));
}
-asmlinkage long compat_sys_sigprocmask(int how,
- compat_old_sigset_t __user *nset,
- compat_old_sigset_t __user *oset)
+COMPAT_SYSCALL_DEFINE3(sigprocmask, int, how,
+ compat_old_sigset_t __user *, nset,
+ compat_old_sigset_t __user *, oset)
{
old_sigset_t old_set, new_set;
sigset_t new_blocked;