summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/signal.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-23 04:11:56 +0200
committerJens Axboe <axboe@kernel.dk>2020-11-09 16:16:55 +0100
commit900f0713fdd730fab0f0bfa4a8ca4db2a8985bbe (patch)
tree82ae7ce991c1a3091d98e32e2ccffb0ad9860aa7 /arch/powerpc/kernel/signal.c
parentparisc: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-900f0713fdd730fab0f0bfa4a8ca4db2a8985bbe.tar.xz
linux-900f0713fdd730fab0f0bfa4a8ca4db2a8985bbe.zip
powerpc: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for powerpc. Cc: linuxppc-dev@lists.ozlabs.org Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/powerpc/kernel/signal.c')
-rw-r--r--arch/powerpc/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c
index d2c356f37077..a8bb0aca1d02 100644
--- a/arch/powerpc/kernel/signal.c
+++ b/arch/powerpc/kernel/signal.c
@@ -318,7 +318,7 @@ void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)
if (thread_info_flags & _TIF_PATCH_PENDING)
klp_update_patch_state(current);
- if (thread_info_flags & _TIF_SIGPENDING) {
+ if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) {
BUG_ON(regs != current->thread.regs);
do_signal(current);
}