diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-09 15:10:55 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-09 08:16:55 -0700 |
commit | e660653cd9f2df470d156c249631f68b9dee51ee (patch) | |
tree | 85cf5b1642c8f70e7535bcb2621749549ee742bd /arch/m68k/kernel/signal.c | |
parent | 192caabd4dd92c98d23ed4334d7596af05af2fb4 (diff) | |
download | linux-e660653cd9f2df470d156c249631f68b9dee51ee.tar.gz linux-e660653cd9f2df470d156c249631f68b9dee51ee.tar.bz2 linux-e660653cd9f2df470d156c249631f68b9dee51ee.zip |
m68k: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for m68k.
Cc: linux-m68k@lists.linux-m68k.org
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/m68k/kernel/signal.c')
-rw-r--r-- | arch/m68k/kernel/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c index 46f91e0f6a08..349570f16a78 100644 --- a/arch/m68k/kernel/signal.c +++ b/arch/m68k/kernel/signal.c @@ -1133,7 +1133,8 @@ static void do_signal(struct pt_regs *regs) void do_notify_resume(struct pt_regs *regs) { - if (test_thread_flag(TIF_SIGPENDING)) + if (test_thread_flag(TIF_NOTIFY_SIGNAL) || + test_thread_flag(TIF_SIGPENDING)) do_signal(regs); if (test_thread_flag(TIF_NOTIFY_RESUME)) |