* [alternative-merged] microblaze-no-need-to-reset-handler-if-sa_oneshot.patch removed from -mm tree
@ 2012-05-23 19:48 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-05-23 19:48 UTC (permalink / raw)
To: matt.fleming, monstr, oleg, mm-commits
The patch titled
Subject: microblaze: no need to reset handler if SA_ONESHOT
has been removed from the -mm tree. Its filename was
microblaze-no-need-to-reset-handler-if-sa_oneshot.patch
This patch was dropped because an alternative patch was merged
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
From: Matt Fleming <matt.fleming@intel.com>
Subject: microblaze: no need to reset handler if SA_ONESHOT
get_signal_to_deliver() already resets the signal handler if SA_ONESHOT is
set in ka->sa.sa_flags, there's no need to do it again in handle_signal().
Furthermore, because we were modifying ka->sa.sa_handler (which is a copy
of sighand->action[]) instead of sighand->action[] the original code
actually had no effect on signal delivery.
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/microblaze/kernel/signal.c | 3 ---
1 file changed, 3 deletions(-)
diff -puN arch/microblaze/kernel/signal.c~microblaze-no-need-to-reset-handler-if-sa_oneshot arch/microblaze/kernel/signal.c
--- a/arch/microblaze/kernel/signal.c~microblaze-no-need-to-reset-handler-if-sa_oneshot
+++ a/arch/microblaze/kernel/signal.c
@@ -320,9 +320,6 @@ handle_signal(unsigned long sig, struct
else
setup_rt_frame(sig, ka, NULL, oldset, regs);
- if (ka->sa.sa_flags & SA_ONESHOT)
- ka->sa.sa_handler = SIG_DFL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-23 19:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23 19:48 [alternative-merged] microblaze-no-need-to-reset-handler-if-sa_oneshot.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.