summaryrefslogtreecommitdiff
path: root/arch/cris/arch-v32/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-02 09:46:55 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-21 23:58:07 -0400
commita4e075c43e7fd9af769b28b7cb454615f61e2698 (patch)
tree9056ae0e0a979eca9c50886370429cea1c45c7c9 /arch/cris/arch-v32/kernel/signal.c
parent7ae4e32a65148353db3458e3eb87117f25620ac5 (diff)
cris: SA_ONESHOT handling is done by get_signal_to_deliver()
... and resetting sa_handler in local copy filled by get_signal_to_deliver() is obviously pointless anyway. 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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/cris/arch-v32/kernel/signal.c b/arch/cris/arch-v32/kernel/signal.c
index b0a6cf4f2cad..55905782a41b 100644
--- a/arch/cris/arch-v32/kernel/signal.c
+++ b/arch/cris/arch-v32/kernel/signal.c
@@ -494,9 +494,6 @@ handle_signal(int canrestart, unsigned long sig,
else
ret = setup_frame(sig, ka, oldset, regs);
- if (ka->sa.sa_flags & SA_ONESHOT)
- ka->sa.sa_handler = SIG_DFL;
-
if (ret == 0)
block_sigmask(ka, sig);