]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
m68k: Resetting sa_handler in local copy of k_sigaction is pointless
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 30 Sep 2010 03:10:47 +0000 (23:10 -0400)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 7 Jan 2011 12:59:59 +0000 (13:59 +0100)
... and had been such since the introduction of get_signal_to_deliver()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/signal.c

index 4b387538706f2275ab5fd6044e74bee1b2e6fde7..c776c813d85680044af3a202551adeeea76ba246 100644 (file)
@@ -1006,9 +1006,6 @@ handle_signal(int sig, struct k_sigaction *ka, siginfo_t *info,
        else
                setup_frame(sig, ka, oldset, regs);
 
-       if (ka->sa.sa_flags & SA_ONESHOT)
-               ka->sa.sa_handler = SIG_DFL;
-
        sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask);
        if (!(ka->sa.sa_flags & SA_NODEFER))
                sigaddset(&current->blocked,sig);