X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=include%2Flinux%2Ftracehook.h;h=f7d82e4fafd6c78fd6a628e6a77068140c0faf94;hb=01be83eea08d6d9f9209843e2e084505fba4053f;hp=1e8caca92e1f29c788e667042edb7a096bdcd4a3;hpb=45ff510517f3b1354a3d9c273ad5e5e8d08312cb;p=sfrench%2Fcifs-2.6.git diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h index 1e8caca92e1f..f7d82e4fafd6 100644 --- a/include/linux/tracehook.h +++ b/include/linux/tracehook.h @@ -178,9 +178,9 @@ static inline void set_notify_resume(struct task_struct *task) */ static inline void tracehook_notify_resume(struct pt_regs *regs) { + clear_thread_flag(TIF_NOTIFY_RESUME); /* - * The caller just cleared TIF_NOTIFY_RESUME. This barrier - * pairs with task_work_add()->set_notify_resume() after + * This barrier pairs with task_work_add()->set_notify_resume() after * hlist_add_head(task->task_works); */ smp_mb__after_atomic();