From 7d1d990ff161bdd2f0901a0916f35d272adf4c0b Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 25 Dec 2012 16:24:21 -0500 Subject: [PATCH] mn10300: switch to generic old sigsuspend Signed-off-by: Al Viro --- arch/mn10300/Kconfig | 1 + arch/mn10300/kernel/signal.c | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index cb5022029606..f15703506d3f 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig @@ -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 diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c index 8223eb371e65..d336d64f95f2 100644 --- a/arch/mn10300/kernel/signal.c +++ b/arch/mn10300/kernel/signal.c @@ -31,16 +31,6 @@ #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 */