]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/ia64/kernel/process.c
Merge tag 'please-pull-ia64-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-hirsute-kernel.git] / arch / ia64 / kernel / process.c
index 3e316ec0b835070f89fc9e5156109718d5382187..ee31fe9b310e3d93de0e46ab29486e920b51763a 100644 (file)
@@ -197,8 +197,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);
        }