aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-09-29 23:10:47 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-01-07 07:59:59 -0500
commit35fc157baf56db846afaeb5c730fa47e351cf0d2 (patch)
treead4fe744a8e13ebdf381545fb0ce54a0e882a4bc /arch/m68k
parent0eefed84fe9e1eb90f4b089ead95904306b23233 (diff)
m68k: Resetting sa_handler in local copy of k_sigaction is pointless
... 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>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/kernel/signal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c
index 4b387538706f..c776c813d856 100644
--- a/arch/m68k/kernel/signal.c
+++ b/arch/m68k/kernel/signal.c
@@ -1006,9 +1006,6 @@ handle_signal(int sig, struct k_sigaction *ka, siginfo_t *info,
1006 else 1006 else
1007 setup_frame(sig, ka, oldset, regs); 1007 setup_frame(sig, ka, oldset, regs);
1008 1008
1009 if (ka->sa.sa_flags & SA_ONESHOT)
1010 ka->sa.sa_handler = SIG_DFL;
1011
1012 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); 1009 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask);
1013 if (!(ka->sa.sa_flags & SA_NODEFER)) 1010 if (!(ka->sa.sa_flags & SA_NODEFER))
1014 sigaddset(&current->blocked,sig); 1011 sigaddset(&current->blocked,sig);