aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/kernel
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 14:45:22 -0600
committerJens Axboe <axboe@kernel.dk>2020-11-09 08:16:55 -0700
commitaeec8193578a71d0aee21218351849d38121ce90 (patch)
treed7851cf02eabb3214508a3945152f09790dda7fd /arch/hexagon/kernel
parentcsky: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-dev-aeec8193578a71d0aee21218351849d38121ce90.tar.xz
linux-dev-aeec8193578a71d0aee21218351849d38121ce90.zip
hexagon: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for hexagon. Cc: linux-hexagon@vger.kernel.org Acked-by: Brian Cain <bcain@codeaurora.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/hexagon/kernel')
-rw-r--r--arch/hexagon/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c
index 5a0a95d93ddb..82cd7a026eb3 100644
--- a/arch/hexagon/kernel/process.c
+++ b/arch/hexagon/kernel/process.c
@@ -174,7 +174,7 @@ int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
return 1;
}
- if (thread_info_flags & _TIF_SIGPENDING) {
+ if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) {
do_signal(regs);
return 1;
}