diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-03 19:49:22 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-18 00:04:36 +0300 |
commit | 3c532798ec96b6c2d77706f04ed1d8b566a805df (patch) | |
tree | be05df113944f53ea7d50cdff8ae95c1941c4161 /arch/c6x | |
parent | 324bcf54c449c7b5b7024c9fa4549fbaaae1935d (diff) | |
download | linux-3c532798ec96b6c2d77706f04ed1d8b566a805df.tar.xz |
tracehook: clear TIF_NOTIFY_RESUME in tracehook_notify_resume()
All the callers currently do this, clean it up and move the clearing
into tracehook_notify_resume() instead.
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/c6x')
-rw-r--r-- | arch/c6x/kernel/signal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/c6x/kernel/signal.c b/arch/c6x/kernel/signal.c index d05c78eace1b..a3f15b9a79da 100644 --- a/arch/c6x/kernel/signal.c +++ b/arch/c6x/kernel/signal.c @@ -316,8 +316,6 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, u32 thread_info_flags, if (thread_info_flags & (1 << TIF_SIGPENDING)) do_signal(regs, syscall); - if (thread_info_flags & (1 << TIF_NOTIFY_RESUME)) { - clear_thread_flag(TIF_NOTIFY_RESUME); + if (thread_info_flags & (1 << TIF_NOTIFY_RESUME)) tracehook_notify_resume(regs); - } } |