summaryrefslogtreecommitdiffstats
path: root/arch/avr32/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-02 09:52:37 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-21 23:58:08 -0400
commitfe49c1cebf054d5c797ecd6b91d5bf96d4295fe4 (patch)
tree38b78aa337342df262e7fec1a234c3f126937739 /arch/avr32/kernel
parentae28b38ca14122b990a83bf4ef95a12889cc6b92 (diff)
avr32: need to clear RESTORE_SIGMASK on successful signal delivery
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/avr32/kernel')
-rw-r--r--arch/avr32/kernel/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
index a4855aecbe4..ae386c304be 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);
}
/*