summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 22:28:27 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-04 00:15:53 +0100
commit86df89a0845a80aa765f3e5e0da43fdf9287029f (patch)
tree9fb2300a073dc86635ed442997feee899a83c621 /arch/cris/arch-v32/kernel/signal.c
parentcris: don't leave ->uc_stack unitialized - we'll use its contents on sigreturn (diff)
downloadlinux-86df89a0845a80aa765f3e5e0da43fdf9287029f.tar.xz
linux-86df89a0845a80aa765f3e5e0da43fdf9287029f.zip
cris: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/cris/arch-v32/kernel/signal.c')
-rw-r--r--arch/cris/arch-v32/kernel/signal.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/cris/arch-v32/kernel/signal.c b/arch/cris/arch-v32/kernel/signal.c
index 1f29c692b7ef..4ccf144b49a9 100644
--- a/arch/cris/arch-v32/kernel/signal.c
+++ b/arch/cris/arch-v32/kernel/signal.c
@@ -51,17 +51,6 @@ struct rt_signal_frame {
void do_signal(int restart, struct pt_regs *regs);
void keep_debug_flags(unsigned long oldccs, unsigned long oldspc,
struct pt_regs *regs);
-/*
- * Swap in the new signal mask, and wait for a signal. Define some
- * dummy arguments to be able to reach the regs argument.
- */
-int
-sys_sigsuspend(old_sigset_t mask)
-{
- sigset_t blocked;
- siginitset(&blocked, mask);
- return sigsuspend(&blocked);
-}
int
sys_sigaction(int signal, const struct old_sigaction *act,