summaryrefslogtreecommitdiffstats
path: root/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 /kernel/signal.c
parent1c37ea82775a160b1f03d27bda034260444caa2e (diff)
downloadlinux-stable-bde208d2e10b8e8cf01cadadf203f5abcf1e4fe2.tar.gz
linux-stable-bde208d2e10b8e8cf01cadadf203f5abcf1e4fe2.tar.bz2
linux-stable-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 'kernel/signal.c')
-rw-r--r--kernel/signal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 775f5552fa0e..87c09e3061d2 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -3562,7 +3562,6 @@ int sigsuspend(sigset_t *set)
return -ERESTARTNOHAND;
}
-#ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND
/**
* sys_rt_sigsuspend - replace the signal mask for a value with the
* @unewset value until a signal is received
@@ -3603,7 +3602,6 @@ COMPAT_SYSCALL_DEFINE2(rt_sigsuspend, compat_sigset_t __user *, unewset, compat_
#endif
}
#endif
-#endif
#ifdef CONFIG_OLD_SIGSUSPEND
SYSCALL_DEFINE1(sigsuspend, old_sigset_t, mask)