aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-26 18:31:00 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-06-01 12:58:46 -0400
commit754421c8cab1a568be844a7069fe04c1cf6391b8 (patch)
tree71fa1f54e664ff45289fccfa946747a18e20727f /kernel/signal.c
parentfb21affa49204acd409328415b49bfe90136653c (diff)
HAVE_RESTORE_SIGMASK is defined on all architectures now
Everyone either defines it in arch thread_info.h or has TIF_RESTORE_SIGMASK and picks default set_restore_sigmask() in linux/thread_info.h. Kill the ifdefs, slap #error in linux/thread_info.h to catch breakage when new ones get merged. 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 08dfbd748cd2..95a9d9d8122b 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -3235,7 +3235,6 @@ SYSCALL_DEFINE0(pause)
3235 3235
3236#endif 3236#endif
3237 3237
3238#ifdef HAVE_SET_RESTORE_SIGMASK
3239int sigsuspend(sigset_t *set) 3238int sigsuspend(sigset_t *set)
3240{ 3239{
3241 sigdelsetmask(set, sigmask(SIGKILL)|sigmask(SIGSTOP)); 3240 sigdelsetmask(set, sigmask(SIGKILL)|sigmask(SIGSTOP));
@@ -3248,7 +3247,6 @@ int sigsuspend(sigset_t *set)
3248 set_restore_sigmask(); 3247 set_restore_sigmask();
3249 return -ERESTARTNOHAND; 3248 return -ERESTARTNOHAND;
3250} 3249}
3251#endif
3252 3250
3253#ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND 3251#ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND
3254/** 3252/**