summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/signal.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-10 00:00:49 +0200
committerJens Axboe <axboe@kernel.dk>2020-11-12 16:45:51 +0100
commit32d59773da38cd83e497a70eb9754d4bbae3aeae (patch)
tree78727cd6981784c670af5d7b5c247e755a3be3b5 /arch/arm/kernel/signal.c
parentmicroblaze: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-32d59773da38cd83e497a70eb9754d4bbae3aeae.tar.xz
linux-32d59773da38cd83e497a70eb9754d4bbae3aeae.zip
arm: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for arm. Cc: linux-arm-kernel@lists.infradead.org Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/arm/kernel/signal.c')
-rw-r--r--arch/arm/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
index 585edbfccf6d..9d2e916121be 100644
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -655,7 +655,7 @@ do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
if (unlikely(!user_mode(regs)))
return 0;
local_irq_enable();
- if (thread_flags & _TIF_SIGPENDING) {
+ if (thread_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) {
int restart = do_signal(regs, syscall);
if (unlikely(restart)) {
/*