]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/signal.c
uprobes: Move clear_thread_flag(TIF_UPROBE) to uprobe_notify_resume()
[karo-tx-linux.git] / arch / x86 / kernel / signal.c
index b280908a376e20efc6773b76c6e80353ef8680f4..0041e5a5293bdb06efa0c95aedaf70dcd8eee090 100644 (file)
@@ -785,10 +785,8 @@ do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags)
                mce_notify_process();
 #endif /* CONFIG_X86_64 && CONFIG_X86_MCE */
 
-       if (thread_info_flags & _TIF_UPROBE) {
-               clear_thread_flag(TIF_UPROBE);
+       if (thread_info_flags & _TIF_UPROBE)
                uprobe_notify_resume(regs);
-       }
 
        /* deal with pending signal delivery */
        if (thread_info_flags & _TIF_SIGPENDING)