diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-25 01:36:15 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:32:49 -0500 |
commit | bde208d2e10b8e8cf01cadadf203f5abcf1e4fe2 (patch) | |
tree | c912569356a020402096e7a4e1919a578eca3b05 /arch/mips/kernel/signal.c | |
parent | 1c37ea82775a160b1f03d27bda034260444caa2e (diff) |
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.c | 13 |
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) | |||
259 | } | 259 | } |
260 | #endif | 260 | #endif |
261 | 261 | ||
262 | SYSCALL_DEFINE2(rt_sigsuspend, sigset_t __user *,unewset, size_t, sigsetsize) | ||
263 | { | ||
264 | sigset_t newset; | ||
265 | |||
266 | /* XXX Don't preclude handling different sized sigset_t's. */ | ||
267 | if (sigsetsize != sizeof(sigset_t)) | ||
268 | return -EINVAL; | ||
269 | |||
270 | if (copy_from_user(&newset, unewset, sizeof(newset))) | ||
271 | return -EFAULT; | ||
272 | return sigsuspend(&newset); | ||
273 | } | ||
274 | |||
275 | #ifdef CONFIG_TRAD_SIGNALS | 262 | #ifdef CONFIG_TRAD_SIGNALS |
276 | SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act, | 263 | SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act, |
277 | struct sigaction __user *, oact) | 264 | struct sigaction __user *, oact) |