|
@@ -196,8 +196,8 @@ do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall)
|
|
|
ia64_do_signal(scr, in_syscall);
|
|
|
}
|
|
|
|
|
|
- if (test_thread_flag(TIF_NOTIFY_RESUME)) {
|
|
|
- clear_thread_flag(TIF_NOTIFY_RESUME);
|
|
|
+ if (test_and_clear_thread_flag(TIF_NOTIFY_RESUME)) {
|
|
|
+ local_irq_enable(); /* force interrupt enable */
|
|
|
tracehook_notify_resume(&scr->pt);
|
|
|
}
|
|
|
|