diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 16:27:07 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:15:56 -0500 |
commit | b407e620eca0b026410b7f95e76c83028779019a (patch) | |
tree | 38fe59e2552aa881ba629c826fb289ba99ea8aff | |
parent | ac416143b0b4f13ff8f7beb021916e1d714dd87b (diff) | |
download | op-kernel-dev-b407e620eca0b026410b7f95e76c83028779019a.zip op-kernel-dev-b407e620eca0b026410b7f95e76c83028779019a.tar.gz |
h8300: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | arch/h8300/Kconfig | 1 | ||||
-rw-r--r-- | arch/h8300/kernel/signal.c | 11 |
2 files changed, 1 insertions, 11 deletions
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 667999e..18a06e4 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig @@ -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 diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c index 635ece1..641d947 100644 --- a/arch/h8300/kernel/signal.c +++ b/arch/h8300/kernel/signal.c @@ -46,17 +46,6 @@ #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) |