diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-26 01:41:01 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 21:09:21 +0100 |
commit | 5cf22100229b855bc4559dccfd8d7cb7266f99f5 (patch) | |
tree | 5d20e3131e7a84d88601c5debb68eeeee0d56316 /kernel/compat.c | |
parent | switch compat_sys_rt_sigtimedwait to COMPAT_SYSCALL_DEFINE (diff) | |
download | linux-5cf22100229b855bc4559dccfd8d7cb7266f99f5.tar.xz linux-5cf22100229b855bc4559dccfd8d7cb7266f99f5.zip |
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 '')
-rw-r--r-- | kernel/compat.c | 6 |
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; |