TIF_RESTORE_SIGMASK can be set only when TIF_SIGPENDING is set
[deliverable/linux.git] / arch / mips / kernel / signal.c
index 53c6e90082f0c713db69af21d20feb7171e36647..896165757e6fb6b3d91eb72eb684cea218a51df5 100644 (file)
@@ -610,7 +610,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
        local_irq_enable();
 
        /* deal with pending signal delivery */
-       if (thread_info_flags & (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK))
+       if (thread_info_flags & _TIF_SIGPENDING)
                do_signal(regs);
 
        if (thread_info_flags & _TIF_NOTIFY_RESUME) {
This page took 0.035802 seconds and 5 git commands to generate.