summaryrefslogtreecommitdiff
path: root/arch/unicore32/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/signal.c')
-rw-r--r--arch/unicore32/kernel/signal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/unicore32/kernel/signal.c b/arch/unicore32/kernel/signal.c
index 28782ad47b93..65a5ed3b6f2a 100644
--- a/arch/unicore32/kernel/signal.c
+++ b/arch/unicore32/kernel/signal.c
@@ -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,