avr32: clear TIF_RESTORE_SIGMASK when signal is delivered
PATCH 4/6 avr32: clear TIF_RESTORE_SIGMASK when signal is delivered
Signed-off-by Al Viro <[email protected]>
--- arch/avr32/kernel/signal.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/avr32/kernel/signal.c +4 -0
@@ -246,6 +246,10 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,sigaddset (¤t->blocked, sig);recalc_sigpending ();spin_unlock_irq (¤t->sighand->siglock); + +/* mask saved on sigframe we'd set up */ +clear_thread_flag (TIF_RESTORE_SIGMASK ); +return ; fail:
Signature · 1 line
1.5.6.5
Quoted 1 line · Al Viro
Signed-off-by Al Viro <[email protected]>
Signature · 1 line
Hans-Christian Egtvedt