aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nds32/kernel/signal.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 15:18:43 -0600
committerJens Axboe <axboe@kernel.dk>2020-12-12 09:17:38 -0700
commitb13e8bf615fe26fb6a6dfe1b5a1c65e1624dfee2 (patch)
tree261043a0bdcd0373dc9bf69ef4c13276096c8205 /arch/nds32/kernel/signal.c
parentia64: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-dev-b13e8bf615fe26fb6a6dfe1b5a1c65e1624dfee2.tar.xz
linux-dev-b13e8bf615fe26fb6a6dfe1b5a1c65e1624dfee2.zip
nds32: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for nds32. Cc: Nick Hu <nickhu@andestech.com> Cc: Greentime Hu <green.hu@gmail.com> Cc: Vincent Chen <deanbo422@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/nds32/kernel/signal.c')
-rw-r--r--arch/nds32/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/kernel/signal.c b/arch/nds32/kernel/signal.c
index 2acb94812af9..7e3ca430a223 100644
--- a/arch/nds32/kernel/signal.c
+++ b/arch/nds32/kernel/signal.c
@@ -376,7 +376,7 @@ static void do_signal(struct pt_regs *regs)
asmlinkage void
do_notify_resume(struct pt_regs *regs, unsigned int thread_flags)
{
- if (thread_flags & _TIF_SIGPENDING)
+ if (thread_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL))
do_signal(regs);
if (thread_flags & _TIF_NOTIFY_RESUME)