diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-29 17:16:19 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-11-10 18:07:09 +0100 |
commit | ed2124c0b9a8d2c09e3b5b9ca9827187c5fcbe71 (patch) | |
tree | 9e3c585ae215bebe78e7b3d4c422f9d0b346b2c1 /arch/microblaze/kernel | |
parent | microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h> (diff) | |
download | linux-ed2124c0b9a8d2c09e3b5b9ca9827187c5fcbe71.tar.xz linux-ed2124c0b9a8d2c09e3b5b9ca9827187c5fcbe71.zip |
microblaze: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for microblaze.
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/a2b78afc-5f60-8590-9df5-17302e356552@kernel.dk
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c index f11a0ccccabc..5a8d173d7b75 100644 --- a/arch/microblaze/kernel/signal.c +++ b/arch/microblaze/kernel/signal.c @@ -313,7 +313,8 @@ static void do_signal(struct pt_regs *regs, int in_syscall) asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall) { - if (test_thread_flag(TIF_SIGPENDING)) + if (test_thread_flag(TIF_SIGPENDING) || + test_thread_flag(TIF_NOTIFY_SIGNAL)) do_signal(regs, in_syscall); if (test_thread_flag(TIF_NOTIFY_RESUME)) |