[PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal isdelivered...

From: Al Viro
Date: Wed Dec 15 2010 - 05:39:43 EST



Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@xxxxxxxxx>
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
---
arch/avr32/kernel/signal.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
index 25090d6..b9fa924 100644
--- a/arch/avr32/kernel/signal.c
+++ b/arch/avr32/kernel/signal.c
@@ -244,6 +244,10 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
sigaddset(&current->blocked, sig);
recalc_sigpending();
spin_unlock_irq(&current->sighand->siglock);
+
+ /* mask saved on sigframe we'd set up */
+ clear_thread_flag(TIF_RESTORE_SIGMASK);
+
return;

fail:
--
1.5.6.5


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/