Loading arch/unicore32/kernel/signal.c +5 −8 Original line number Original line Diff line number Diff line Loading @@ -447,15 +447,12 @@ static void do_signal(struct pt_regs *regs, int syscall) regs->UCreg_00 == -ERESTARTNOINTR) { regs->UCreg_00 == -ERESTARTNOINTR) { setup_syscall_restart(regs); setup_syscall_restart(regs); } } } /* If there's no signal to deliver, we just put the saved /* If there's no signal to deliver, we just put the saved * sigmask back. * sigmask back. */ */ if (test_thread_flag(TIF_RESTORE_SIGMASK)) { if (test_and_clear_thread_flag(TIF_RESTORE_SIGMASK)) clear_thread_flag(TIF_RESTORE_SIGMASK); set_current_blocked(¤t->saved_sigmask); sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); } } } } asmlinkage void do_notify_resume(struct pt_regs *regs, asmlinkage void do_notify_resume(struct pt_regs *regs, Loading Loading
arch/unicore32/kernel/signal.c +5 −8 Original line number Original line Diff line number Diff line Loading @@ -447,15 +447,12 @@ static void do_signal(struct pt_regs *regs, int syscall) regs->UCreg_00 == -ERESTARTNOINTR) { regs->UCreg_00 == -ERESTARTNOINTR) { setup_syscall_restart(regs); setup_syscall_restart(regs); } } } /* If there's no signal to deliver, we just put the saved /* If there's no signal to deliver, we just put the saved * sigmask back. * sigmask back. */ */ if (test_thread_flag(TIF_RESTORE_SIGMASK)) { if (test_and_clear_thread_flag(TIF_RESTORE_SIGMASK)) clear_thread_flag(TIF_RESTORE_SIGMASK); set_current_blocked(¤t->saved_sigmask); sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); } } } } asmlinkage void do_notify_resume(struct pt_regs *regs, asmlinkage void do_notify_resume(struct pt_regs *regs, Loading