summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/process.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 22:49:43 +0200
committerJens Axboe <axboe@kernel.dk>2020-12-12 17:17:38 +0100
commitb269c229b0e89aedb7943c06673b56b6052cf5e5 (patch)
treef8587d99386de396a7f12377821763f6baa82601 /arch/ia64/kernel/process.c
parenth8300: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-b269c229b0e89aedb7943c06673b56b6052cf5e5.tar.xz
linux-b269c229b0e89aedb7943c06673b56b6052cf5e5.zip
ia64: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for ia64. Cc: linux-ia64@vger.kernel.org [axboe: added fixes from Mike Rapoport <rppt@kernel.org>] Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/ia64/kernel/process.c')
-rw-r--r--arch/ia64/kernel/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index 6b61a703bcf5..8d4e1cab9190 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -171,7 +171,8 @@ do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall)
}
/* deal with pending signal delivery */
- if (test_thread_flag(TIF_SIGPENDING)) {
+ if (test_thread_flag(TIF_SIGPENDING) ||
+ test_thread_flag(TIF_NOTIFY_SIGNAL)) {
local_irq_enable(); /* force interrupt enable */
ia64_do_signal(scr, in_syscall);
}