From: Al Viro Date: Wed, 2 May 2012 13:52:37 +0000 (-0400) Subject: avr32: need to clear RESTORE_SIGMASK on successful signal delivery X-Git-Tag: firefly_0821_release~3680^2~2783^2~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fe49c1cebf054d5c797ecd6b91d5bf96d4295fe4;p=firefly-linux-kernel-4.4.55.git avr32: need to clear RESTORE_SIGMASK on successful signal delivery Signed-off-by: Al Viro --- diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c index a4855aecbe44..ae386c304bee 100644 --- a/arch/avr32/kernel/signal.c +++ b/arch/avr32/kernel/signal.c @@ -247,6 +247,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info, * Block the signal if we were successful. */ block_sigmask(ka, sig); + clear_thread_flag(TIF_RESTORE_SIGMASK); } /*