Browse Source

avr32: need to clear RESTORE_SIGMASK on successful signal delivery

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 13 years ago
parent
commit
fe49c1cebf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/avr32/kernel/signal.c

+ 1 - 0
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);
 }
 
 /*