]> git.karo-electronics.de Git - linux-beck.git/commitdiff
avr32: need to clear RESTORE_SIGMASK on successful signal delivery
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 May 2012 13:52:37 +0000 (09:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:58:08 +0000 (23:58 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/avr32/kernel/signal.c

index a4855aecbe444b54e2d3f1a915afc2d753d370c1..ae386c304beefe153fb162e2b6909edc84dd5ef4 100644 (file)
@@ -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);
 }
 
 /*