aboutsummaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 16:27:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:15:56 -0500
commitb407e620eca0b026410b7f95e76c83028779019a (patch)
tree38fe59e2552aa881ba629c826fb289ba99ea8aff /arch/h8300
parentac416143b0b4f13ff8f7beb021916e1d714dd87b (diff)
h8300: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/h8300')
-rw-r--r--arch/h8300/Kconfig1
-rw-r--r--arch/h8300/kernel/signal.c11
2 files changed, 1 insertions, 11 deletions
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 667999e96f63..18a06e4a835e 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -10,6 +10,7 @@ config H8300
10 select GENERIC_CPU_DEVICES 10 select GENERIC_CPU_DEVICES
11 select MODULES_USE_ELF_RELA 11 select MODULES_USE_ELF_RELA
12 select GENERIC_SIGALTSTACK 12 select GENERIC_SIGALTSTACK
13 select OLD_SIGSUSPEND3
13 14
14config SYMBOL_PREFIX 15config SYMBOL_PREFIX
15 string 16 string
diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c
index 635ece1c5d20..641d947a83b8 100644
--- a/arch/h8300/kernel/signal.c
+++ b/arch/h8300/kernel/signal.c
@@ -46,17 +46,6 @@
46#include <asm/traps.h> 46#include <asm/traps.h>
47#include <asm/ucontext.h> 47#include <asm/ucontext.h>
48 48
49/*
50 * Atomically swap in the new signal mask, and wait for a signal.
51 */
52asmlinkage int
53sys_sigsuspend(int unused1, int unused2, old_sigset_t mask)
54{
55 sigset_t blocked;
56 siginitset(&blocked, mask);
57 return sigsuspend(&blocked);
58}
59
60asmlinkage int 49asmlinkage int
61sys_sigaction(int sig, const struct old_sigaction *act, 50sys_sigaction(int sig, const struct old_sigaction *act,
62 struct old_sigaction *oact) 51 struct old_sigaction *oact)