new helper: restore_saved_sigmask()
[deliverable/linux.git] / arch / unicore32 / kernel / signal.c
index 28782ad47b93ee5d778cfa225776f87cebbb5719..65a5ed3b6f2a437c3598a7c04af1647e614eceaa 100644 (file)
@@ -451,8 +451,7 @@ static void do_signal(struct pt_regs *regs, int syscall)
        /* If there's no signal to deliver, we just put the saved
         * sigmask back.
         */
-       if (test_and_clear_thread_flag(TIF_RESTORE_SIGMASK))
-               set_current_blocked(&current->saved_sigmask);
+       restore_saved_sigmask();
 }
 
 asmlinkage void do_notify_resume(struct pt_regs *regs,
This page took 0.023759 seconds and 5 git commands to generate.