summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/signal.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 23:27:02 +0200
committerJens Axboe <axboe@kernel.dk>2020-11-09 16:16:55 +0100
commit18cb3281285d2190c0605d2e53543802319bd1a1 (patch)
tree646b2cbed17e75cba532579b380abb476b0cdd60 /arch/parisc/kernel/signal.c
parentnios32: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-18cb3281285d2190c0605d2e53543802319bd1a1.tar.xz
linux-18cb3281285d2190c0605d2e53543802319bd1a1.zip
parisc: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for parisc. Cc: linux-parisc@vger.kernel.org Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/parisc/kernel/signal.c')
-rw-r--r--arch/parisc/kernel/signal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
index 9f43eaeb0b0a..fb1e94a3982b 100644
--- a/arch/parisc/kernel/signal.c
+++ b/arch/parisc/kernel/signal.c
@@ -603,7 +603,8 @@ do_signal(struct pt_regs *regs, long in_syscall)
void do_notify_resume(struct pt_regs *regs, long in_syscall)
{
- if (test_thread_flag(TIF_SIGPENDING))
+ if (test_thread_flag(TIF_SIGPENDING) ||
+ test_thread_flag(TIF_NOTIFY_SIGNAL))
do_signal(regs, in_syscall);
if (test_thread_flag(TIF_NOTIFY_RESUME))