diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-02 09:46:55 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 23:58:07 -0400 |
commit | a4e075c43e7fd9af769b28b7cb454615f61e2698 (patch) | |
tree | 9056ae0e0a979eca9c50886370429cea1c45c7c9 | |
parent | 7ae4e32a65148353db3458e3eb87117f25620ac5 (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>
-rw-r--r-- | arch/cris/arch-v32/kernel/signal.c | 3 |
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, | |||
494 | else | 494 | else |
495 | ret = setup_frame(sig, ka, oldset, regs); | 495 | ret = setup_frame(sig, ka, oldset, regs); |
496 | 496 | ||
497 | if (ka->sa.sa_flags & SA_ONESHOT) | ||
498 | ka->sa.sa_handler = SIG_DFL; | ||
499 | |||
500 | if (ret == 0) | 497 | if (ret == 0) |
501 | block_sigmask(ka, sig); | 498 | block_sigmask(ka, sig); |
502 | 499 | ||