diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-28 18:41:03 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-04 00:14:17 +0100 |
commit | 709410a03e206c912e99b19dbb0e474aae6890cd (patch) | |
tree | dcac74e2a1d6cd03d26f0b815c47466cd2ec3339 /arch | |
parent | new helper: sigsp() (diff) | |
download | linux-709410a03e206c912e99b19dbb0e474aae6890cd.tar.xz linux-709410a03e206c912e99b19dbb0e474aae6890cd.zip |
mips: use sane prototype for sys_rt_sigsuspend()
we want to do that before branchpoint for arch-* to be able to
consolidate sys_rt_sigsuspend() declarations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/signal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index b6aa77035019..4d790d1f03d6 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c @@ -259,18 +259,14 @@ asmlinkage int sys_sigsuspend(nabi_no_regargs struct pt_regs regs) } #endif -asmlinkage int sys_rt_sigsuspend(nabi_no_regargs struct pt_regs regs) +SYSCALL_DEFINE2(rt_sigsuspend, sigset_t __user *,unewset, size_t, sigsetsize) { sigset_t newset; - sigset_t __user *unewset; - size_t sigsetsize; /* XXX Don't preclude handling different sized sigset_t's. */ - sigsetsize = regs.regs[5]; if (sigsetsize != sizeof(sigset_t)) return -EINVAL; - unewset = (sigset_t __user *) regs.regs[4]; if (copy_from_user(&newset, unewset, sizeof(newset))) return -EFAULT; return sigsuspend(&newset); |