summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-25 01:36:15 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:32:49 -0500
commitbde208d2e10b8e8cf01cadadf203f5abcf1e4fe2 (patch)
treec912569356a020402096e7a4e1919a578eca3b05 /arch/mips/kernel/signal.c
parent1c37ea82775a160b1f03d27bda034260444caa2e (diff)
downloadtalos-obmc-linux-bde208d2e10b8e8cf01cadadf203f5abcf1e4fe2.tar.gz
talos-obmc-linux-bde208d2e10b8e8cf01cadadf203f5abcf1e4fe2.zip
switch mips to generic rt_sigsuspend(), make it unconditional
mips was the last architecture not using the generic variant. Both native and compat variants switched to generic, which is made unconditional now. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel/signal.c')
-rw-r--r--arch/mips/kernel/signal.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index eab30865b2bd..f221722a6d43 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -259,19 +259,6 @@ asmlinkage int sys_sigsuspend(nabi_no_regargs struct pt_regs regs)
}
#endif
-SYSCALL_DEFINE2(rt_sigsuspend, sigset_t __user *,unewset, size_t, sigsetsize)
-{
- sigset_t newset;
-
- /* XXX Don't preclude handling different sized sigset_t's. */
- if (sigsetsize != sizeof(sigset_t))
- return -EINVAL;
-
- if (copy_from_user(&newset, unewset, sizeof(newset)))
- return -EFAULT;
- return sigsuspend(&newset);
-}
-
#ifdef CONFIG_TRAD_SIGNALS
SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act,
struct sigaction __user *, oact)
OpenPOWER on IntegriCloud