ia64: add support for TIF_NOTIFY_SIGNAL
[linux-2.6-microblaze.git] / arch / ia64 / kernel / process.c
index 6b61a70..8d4e1ca 100644 (file)
@@ -171,7 +171,8 @@ do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall)
        }
 
        /* deal with pending signal delivery */
-       if (test_thread_flag(TIF_SIGPENDING)) {
+       if (test_thread_flag(TIF_SIGPENDING) ||
+           test_thread_flag(TIF_NOTIFY_SIGNAL)) {
                local_irq_enable();     /* force interrupt enable */
                ia64_do_signal(scr, in_syscall);
        }