summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/process.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-03 18:49:22 +0200
committerJens Axboe <axboe@kernel.dk>2020-10-17 23:04:36 +0200
commit3c532798ec96b6c2d77706f04ed1d8b566a805df (patch)
treebe05df113944f53ea7d50cdff8ae95c1941c4161 /arch/ia64/kernel/process.c
parentmm: use limited read-ahead to satisfy read (diff)
downloadlinux-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/ia64/kernel/process.c')
-rw-r--r--arch/ia64/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index f25f2f723196..6b61a703bcf5 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -176,7 +176,7 @@ do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall)
ia64_do_signal(scr, in_syscall);
}
- if (test_and_clear_thread_flag(TIF_NOTIFY_RESUME)) {
+ if (test_thread_flag(TIF_NOTIFY_RESUME)) {
local_irq_enable(); /* force interrupt enable */
tracehook_notify_resume(&scr->pt);
}