mn10300: switch to generic old sigsuspend
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 25 Dec 2012 21:24:21 +0000 (16:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:16:04 +0000 (18:16 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/mn10300/Kconfig
arch/mn10300/kernel/signal.c

index cb50220..f157035 100644 (file)
@@ -11,6 +11,7 @@ config MN10300
        select GENERIC_CLOCKEVENTS
        select MODULES_USE_ELF_RELA
        select GENERIC_SIGALTSTACK
+       select OLD_SIGSUSPEND3
 
 config AM33_2
        def_bool n
index 8223eb3..d336d64 100644 (file)
 #define DEBUG_SIG 0
 
 /*
- * atomically swap in the new signal mask, and wait for a signal.
- */
-asmlinkage long sys_sigsuspend(int history0, int history1, old_sigset_t mask)
-{
-       sigset_t blocked;
-       siginitset(&blocked, mask);
-       return sigsuspend(&blocked);
-}
-
-/*
  * set signal action syscall
  */
 asmlinkage long sys_sigaction(int sig,