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

index 3e73dca71677d5552cd09a2a0704a30dd80ca723..107747981b38091dae39f029e1155970f3eeb6e1 100644 (file)
@@ -19,6 +19,7 @@ config M68K
        select MODULES_USE_ELF_REL
        select MODULES_USE_ELF_RELA
        select GENERIC_SIGALTSTACK
+       select OLD_SIGSUSPEND3
 
 config RWSEM_GENERIC_SPINLOCK
        bool
index 41a34de4b4b428995f56c863eb9e522c7a8a5e5c..b5c6b4d9d1a942d7a7b051c45a39f239d527d99c 100644 (file)
@@ -224,17 +224,6 @@ static inline void push_cache(unsigned long vaddr)
 
 #endif /* CONFIG_MMU */
 
-/*
- * Atomically swap in the new signal mask, and wait for a signal.
- */
-asmlinkage int
-sys_sigsuspend(int unused0, int unused1, old_sigset_t mask)
-{
-       sigset_t blocked;
-       siginitset(&blocked, mask);
-       return sigsuspend(&blocked);
-}
-
 asmlinkage int
 sys_sigaction(int sig, const struct old_sigaction __user *act,
              struct old_sigaction __user *oact)