diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-09 14:39:00 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-09 08:16:55 -0700 |
commit | f3924d763c8af4c5d441b666c01f4de03ac9449e (patch) | |
tree | d905e8b8151aa871dba5dfeab2279162c5c462bf /arch/csky/kernel | |
parent | e181c0aa2e532af2b17128fbde699f8578cc0562 (diff) | |
download | lwn-f3924d763c8af4c5d441b666c01f4de03ac9449e.tar.gz lwn-f3924d763c8af4c5d441b666c01f4de03ac9449e.zip |
csky: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for csky.
Cc: linux-csky@vger.kernel.org
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/csky/kernel')
-rw-r--r-- | arch/csky/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/signal.c b/arch/csky/kernel/signal.c index 8b068cf37447..37ea64ed3c12 100644 --- a/arch/csky/kernel/signal.c +++ b/arch/csky/kernel/signal.c @@ -257,7 +257,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, uprobe_notify_resume(regs); /* Handle pending signal delivery */ - if (thread_info_flags & _TIF_SIGPENDING) + if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) do_signal(regs); if (thread_info_flags & _TIF_NOTIFY_RESUME) { |