summaryrefslogtreecommitdiff
path: root/arch/m68k/kernel
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-03 19:49:22 +0300
committerJens Axboe <axboe@kernel.dk>2020-10-18 00:04:36 +0300
commit3c532798ec96b6c2d77706f04ed1d8b566a805df (patch)
treebe05df113944f53ea7d50cdff8ae95c1941c4161 /arch/m68k/kernel
parent324bcf54c449c7b5b7024c9fa4549fbaaae1935d (diff)
downloadlinux-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/m68k/kernel')
-rw-r--r--arch/m68k/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c
index a98fca977073..29e174a80bf6 100644
--- a/arch/m68k/kernel/signal.c
+++ b/arch/m68k/kernel/signal.c
@@ -1134,6 +1134,6 @@ void do_notify_resume(struct pt_regs *regs)
if (test_thread_flag(TIF_SIGPENDING))
do_signal(regs);
- if (test_and_clear_thread_flag(TIF_NOTIFY_RESUME))
+ if (test_thread_flag(TIF_NOTIFY_RESUME))
tracehook_notify_resume(regs);
}