diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 16:24:21 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:04 -0500 |
commit | 7d1d990ff161bdd2f0901a0916f35d272adf4c0b (patch) | |
tree | eb4e3ffb4246df6d6d2a1bc84ca8494f0fc70fa0 /arch | |
parent | b30c7d50af95f7450f877e8172a2341785bce5ab (diff) |
mn10300: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mn10300/Kconfig | 1 | ||||
-rw-r--r-- | arch/mn10300/kernel/signal.c | 10 |
2 files changed, 1 insertions, 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 | |||
11 | select GENERIC_CLOCKEVENTS | 11 | select GENERIC_CLOCKEVENTS |
12 | select MODULES_USE_ELF_RELA | 12 | select MODULES_USE_ELF_RELA |
13 | select GENERIC_SIGALTSTACK | 13 | select GENERIC_SIGALTSTACK |
14 | select OLD_SIGSUSPEND3 | ||
14 | 15 | ||
15 | config AM33_2 | 16 | config AM33_2 |
16 | def_bool n | 17 | 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 | |||
@@ -32,16 +32,6 @@ | |||
32 | #define DEBUG_SIG 0 | 32 | #define DEBUG_SIG 0 |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * atomically swap in the new signal mask, and wait for a signal. | ||
36 | */ | ||
37 | asmlinkage long sys_sigsuspend(int history0, int history1, old_sigset_t mask) | ||
38 | { | ||
39 | sigset_t blocked; | ||
40 | siginitset(&blocked, mask); | ||
41 | return sigsuspend(&blocked); | ||
42 | } | ||
43 | |||
44 | /* | ||
45 | * set signal action syscall | 35 | * set signal action syscall |
46 | */ | 36 | */ |
47 | asmlinkage long sys_sigaction(int sig, | 37 | asmlinkage long sys_sigaction(int sig, |