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

index 667999e96f63ef6dae280977f7072ee0169ecd65..18a06e4a835e450c691face5d22f4c5fee43757f 100644 (file)
@@ -10,6 +10,7 @@ config H8300
        select GENERIC_CPU_DEVICES
        select MODULES_USE_ELF_RELA
        select GENERIC_SIGALTSTACK
+       select OLD_SIGSUSPEND3
 
 config SYMBOL_PREFIX
        string
index 635ece1c5d20bbba59f009de095aada1a9343028..641d947a83b88c7a83906b5fe22c48e1ab703340 100644 (file)
 #include <asm/traps.h>
 #include <asm/ucontext.h>
 
-/*
- * Atomically swap in the new signal mask, and wait for a signal.
- */
-asmlinkage int
-sys_sigsuspend(int unused1, int unused2, old_sigset_t mask)
-{
-       sigset_t blocked;
-       siginitset(&blocked, mask);
-       return sigsuspend(&blocked);
-}
-
 asmlinkage int 
 sys_sigaction(int sig, const struct old_sigaction *act,
              struct old_sigaction *oact)