tracehook: clear TIF_NOTIFY_RESUME in tracehook_notify_resume()
[sfrench/cifs-2.6.git] / arch / microblaze / kernel / signal.c
index 4a96b59f0beed3835854c266d4ac4c39ee89ff04..f11a0ccccabc47f155ee02e176eb1b47234e94a8 100644 (file)
@@ -316,6 +316,6 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall)
        if (test_thread_flag(TIF_SIGPENDING))
                do_signal(regs, in_syscall);
 
-       if (test_and_clear_thread_flag(TIF_NOTIFY_RESUME))
+       if (test_thread_flag(TIF_NOTIFY_RESUME))
                tracehook_notify_resume(regs);
 }