diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-02 15:46:55 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-22 05:58:07 +0200 |
commit | a4e075c43e7fd9af769b28b7cb454615f61e2698 (patch) | |
tree | 9056ae0e0a979eca9c50886370429cea1c45c7c9 /arch/cris/arch-v32 | |
parent | h8300: switch to saved_sigmask-based sigsuspend/rt_sigsuspend (diff) | |
download | linux-a4e075c43e7fd9af769b28b7cb454615f61e2698.tar.xz linux-a4e075c43e7fd9af769b28b7cb454615f61e2698.zip |
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')
-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); |