cris: SA_ONESHOT handling is done by get_signal_to_deliver()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 May 2012 13:46:55 +0000 (09:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:58:07 +0000 (23:58 -0400)
... 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>
arch/cris/arch-v32/kernel/signal.c

index b0a6cf4..5590578 100644 (file)
@@ -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);