From: Al Viro <viro@ftp.linux.org.uk>
To: hans-christian.egtvedt@atmel.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered...
Date: Wed, 15 Dec 2010 10:39:38 +0000 [thread overview]
Message-ID: <E1PSolm-0008Tz-Cf@ZenIV.linux.org.uk> (raw)
Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
arch/avr32/kernel/signal.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
index 25090d6..b9fa924 100644
--- a/arch/avr32/kernel/signal.c
+++ b/arch/avr32/kernel/signal.c
@@ -244,6 +244,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:
--
1.5.6.5
next reply other threads:[~2010-12-15 10:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 10:39 Al Viro [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-09-28 2:57 [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered Al Viro
2010-11-01 8:20 ` Hans-Christian Egtvedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1PSolm-0008Tz-Cf@ZenIV.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=hans-christian.egtvedt@atmel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.