summaryrefslogtreecommitdiff
path: root/arch/mn10300
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 16:24:21 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:16:04 -0500
commit7d1d990ff161bdd2f0901a0916f35d272adf4c0b (patch)
treeeb4e3ffb4246df6d6d2a1bc84ca8494f0fc70fa0 /arch/mn10300
parentb30c7d50af95f7450f877e8172a2341785bce5ab (diff)
mn10300: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300')
-rw-r--r--arch/mn10300/Kconfig1
-rw-r--r--arch/mn10300/kernel/signal.c10
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
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
@@ -32,16 +32,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
*/
asmlinkage long sys_sigaction(int sig,