summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/signal_64.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 22:20:46 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-04 00:16:16 +0100
commit881e252d6b37d7526008e3dcd4592823d9273e1f (patch)
tree37868d58629f177e551f5895ada10203bfb4a61a /arch/sh/kernel/signal_64.c
parentsh: switch to generic sigaltstack (diff)
downloadlinux-881e252d6b37d7526008e3dcd4592823d9273e1f.tar.xz
linux-881e252d6b37d7526008e3dcd4592823d9273e1f.zip
sh: switch to generic old sigsuspend()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/kernel/signal_64.c')
-rw-r--r--arch/sh/kernel/signal_64.c11
1 files changed, 0 insertions, 11 deletions
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)