diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/signal.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index 8a6e6d116ab0..aad2d2da5eec 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -614,10 +614,7 @@ static void do_signal(struct pt_regs *regs) | |||
614 | * If there's no signal to deliver, we just put the saved sigmask | 614 | * If there's no signal to deliver, we just put the saved sigmask |
615 | * back | 615 | * back |
616 | */ | 616 | */ |
617 | if (test_thread_flag(TIF_RESTORE_SIGMASK)) { | 617 | restore_saved_sigmask(); |
618 | clear_thread_flag(TIF_RESTORE_SIGMASK); | ||
619 | sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); | ||
620 | } | ||
621 | } | 618 | } |
622 | 619 | ||
623 | /* | 620 | /* |