diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 16:20:46 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:16 -0500 |
commit | 881e252d6b37d7526008e3dcd4592823d9273e1f (patch) | |
tree | 37868d58629f177e551f5895ada10203bfb4a61a /arch/sh/kernel | |
parent | 7a879a94d90dc5c494875b54499ae321400358d8 (diff) |
sh: switch to generic old sigsuspend()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/signal_32.c | 11 | ||||
-rw-r--r-- | arch/sh/kernel/signal_64.c | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index e540d07dd5c5..c660a912a470 100644 --- a/arch/sh/kernel/signal_32.c +++ b/arch/sh/kernel/signal_32.c @@ -46,17 +46,6 @@ struct fdpic_func_descriptor { */ #define UNWINDGUARD 64 -/* - * Atomically swap in the new signal mask, and wait for a signal. - */ -asmlinkage int -sys_sigsuspend(old_sigset_t mask) -{ - sigset_t blocked; - siginitset(&blocked, mask); - return sigsuspend(&blocked); -} - asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act, struct old_sigaction __user *oact) diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 0fba66e2b202..8705f3ec24f4 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c @@ -127,17 +127,6 @@ static void do_signal(struct pt_regs *regs) restore_saved_sigmask(); } -/* - * Atomically swap in the new signal mask, and wait for a signal. - */ -asmlinkage int -sys_sigsuspend(old_sigset_t mask) -{ - sigset_t blocked; - siginitset(&blocked, mask); - return sigsuspend(&blocked); -} - asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act, struct old_sigaction __user *oact) |