Browse Source

frv: switch to generic old sigsuspend

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 12 years ago
parent
commit
39e08a9bae
2 changed files with 1 additions and 10 deletions
  1. 1 0
      arch/frv/Kconfig
  2. 0 10
      arch/frv/kernel/signal.c

+ 1 - 0
arch/frv/Kconfig

@@ -13,6 +13,7 @@ config FRV
 	select GENERIC_CPU_DEVICES
 	select ARCH_WANT_IPC_PARSE_VERSION
 	select GENERIC_SIGALTSTACK
+	select OLD_SIGSUSPEND3
 
 config ZONE_DMA
 	bool

+ 0 - 10
arch/frv/kernel/signal.c

@@ -32,16 +32,6 @@ struct fdpic_func_descriptor {
 	unsigned long	GOT;
 };
 
-/*
- * Atomically swap in the new signal mask, and wait for a signal.
- */
-asmlinkage int sys_sigsuspend(int history0, int history1, 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)