summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/signal_64.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 15:44:37 -0600
committerJens Axboe <axboe@kernel.dk>2020-12-12 09:17:38 -0700
commitf50a7052f5e70ee7a6a5e2ed08660994dc3df2a5 (patch)
tree086359e0403659c06dd293ca34162820f155ba5c /arch/sparc/kernel/signal_64.c
parent24a31b81e38309b1604f24520110aae1f83f3cbf (diff)
downloadlinux-stable-f50a7052f5e70ee7a6a5e2ed08660994dc3df2a5.tar.gz
linux-stable-f50a7052f5e70ee7a6a5e2ed08660994dc3df2a5.tar.bz2
linux-stable-f50a7052f5e70ee7a6a5e2ed08660994dc3df2a5.zip
sparc: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for sparc. Cc: sparclinux@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/sparc/kernel/signal_64.c')
-rw-r--r--arch/sparc/kernel/signal_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/signal_64.c b/arch/sparc/kernel/signal_64.c
index f7ef7edcd5c1..a0eec62c825d 100644
--- a/arch/sparc/kernel/signal_64.c
+++ b/arch/sparc/kernel/signal_64.c
@@ -549,7 +549,7 @@ void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, unsigned long
user_exit();
if (thread_info_flags & _TIF_UPROBE)
uprobe_notify_resume(regs);
- if (thread_info_flags & _TIF_SIGPENDING)
+ if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL))
do_signal(regs, orig_i0);
if (thread_info_flags & _TIF_NOTIFY_RESUME)
tracehook_notify_resume(regs);