diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-09 23:36:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-09 16:16:55 +0100 |
commit | 6d3a273355e3c8471ddf9e8ce9a7cc4472bf1ccc (patch) | |
tree | 0efaa6d1c8881426de95133a7f5a5b51169bc17e /arch/sh/kernel | |
parent | um: add support for TIF_NOTIFY_SIGNAL (diff) | |
download | linux-6d3a273355e3c8471ddf9e8ce9a7cc4472bf1ccc.tar.xz linux-6d3a273355e3c8471ddf9e8ce9a7cc4472bf1ccc.zip |
sh: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for sh.
Cc: linux-sh@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/signal_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index 1add47fd31f6..dd3092911efa 100644 --- a/arch/sh/kernel/signal_32.c +++ b/arch/sh/kernel/signal_32.c @@ -499,7 +499,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned int save_r0, unsigned long thread_info_flags) { /* deal with pending signal delivery */ - if (thread_info_flags & _TIF_SIGPENDING) + if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) do_signal(regs, save_r0); if (thread_info_flags & _TIF_NOTIFY_RESUME) |