diff options
Diffstat (limited to 'arch/sparc/kernel/signal_32.c')
-rw-r--r-- | arch/sparc/kernel/signal_32.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc/kernel/signal_32.c b/arch/sparc/kernel/signal_32.c index 6b42e8622d12..9dd97d2e171e 100644 --- a/arch/sparc/kernel/signal_32.c +++ b/arch/sparc/kernel/signal_32.c | |||
@@ -576,10 +576,7 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0) | |||
576 | /* if there's no signal to deliver, we just put the saved sigmask | 576 | /* if there's no signal to deliver, we just put the saved sigmask |
577 | * back | 577 | * back |
578 | */ | 578 | */ |
579 | if (test_thread_flag(TIF_RESTORE_SIGMASK)) { | 579 | restore_saved_sigmask(); |
580 | clear_thread_flag(TIF_RESTORE_SIGMASK); | ||
581 | set_current_blocked(¤t->saved_sigmask); | ||
582 | } | ||
583 | } | 580 | } |
584 | 581 | ||
585 | void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, | 582 | void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, |