diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-02 17:46:55 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-22 07:58:07 +0400 |
commit | a4e075c43e7fd9af769b28b7cb454615f61e2698 (patch) | |
tree | 9056ae0e0a979eca9c50886370429cea1c45c7c9 | |
parent | 7ae4e32a65148353db3458e3eb87117f25620ac5 (diff) | |
download | linux-a4e075c43e7fd9af769b28b7cb454615f61e2698.tar.xz |
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, 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); |