diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-03 18:49:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-17 23:04:36 +0200 |
commit | 3c532798ec96b6c2d77706f04ed1d8b566a805df (patch) | |
tree | be05df113944f53ea7d50cdff8ae95c1941c4161 /arch/csky | |
parent | mm: use limited read-ahead to satisfy read (diff) | |
download | linux-3c532798ec96b6c2d77706f04ed1d8b566a805df.tar.xz linux-3c532798ec96b6c2d77706f04ed1d8b566a805df.zip |
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/csky')
-rw-r--r-- | arch/csky/kernel/signal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/csky/kernel/signal.c b/arch/csky/kernel/signal.c index 970895df75ec..8b068cf37447 100644 --- a/arch/csky/kernel/signal.c +++ b/arch/csky/kernel/signal.c @@ -261,7 +261,6 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, do_signal(regs); if (thread_info_flags & _TIF_NOTIFY_RESUME) { - clear_thread_flag(TIF_NOTIFY_RESUME); tracehook_notify_resume(regs); rseq_handle_notify_resume(NULL, regs); } |