diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-09 15:24:46 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-09 08:16:55 -0700 |
commit | e181c0aa2e532af2b17128fbde699f8578cc0562 (patch) | |
tree | aa5c7819c1c800e77266cc3181a5b4bcab57b2fb /arch/openrisc/kernel/signal.c | |
parent | 6d3a273355e3c8471ddf9e8ce9a7cc4472bf1ccc (diff) | |
download | linux-e181c0aa2e532af2b17128fbde699f8578cc0562.tar.bz2 |
openrisc: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for openrisc.
Cc: openrisc@lists.librecores.org
Acked-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/openrisc/kernel/signal.c')
-rw-r--r-- | arch/openrisc/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c index af66f968dd45..1ebcff271096 100644 --- a/arch/openrisc/kernel/signal.c +++ b/arch/openrisc/kernel/signal.c @@ -299,7 +299,7 @@ do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) if (unlikely(!user_mode(regs))) return 0; local_irq_enable(); - if (thread_flags & _TIF_SIGPENDING) { + if (thread_flags & (_TIF_SIGPENDING|_TIF_NOTIFY_SIGNAL)) { int restart = do_signal(regs, syscall); if (unlikely(restart)) { /* |