]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 cb50220296060394cabefc259d91534a944a69a4..f15703506d3f359e21e34d761310065128c7e7b1 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 8223eb371e65d7a63ee27344ec45f902e6bf008f..d336d64f95f234faad11a6c333b91bab8cfaabcc 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
  */