diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 23:42:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 12:58:49 -0400 |
commit | a610d6e672d6d3723e8da257ad4a8a288a8f2f89 (patch) | |
tree | 2fac6ce7f72756771f4f87583205cc402589dcad /arch/parisc/kernel/signal.c | |
parent | 5754f412a3f107cbcd93ee125bef296f2a07539b (diff) |
pull clearing RESTORE_SIGMASK into block_sigmask()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/signal.c')
-rw-r--r-- | arch/parisc/kernel/signal.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index 441b25992846..d6ddc572eba1 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
@@ -459,6 +459,9 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka, | |||
459 | test_thread_flag(TIF_SINGLESTEP) || | 459 | test_thread_flag(TIF_SINGLESTEP) || |
460 | test_thread_flag(TIF_BLOCKSTEP)); | 460 | test_thread_flag(TIF_BLOCKSTEP)); |
461 | 461 | ||
462 | DBG(1,KERN_DEBUG "do_signal: Exit (success), regs->gr[28] = %ld\n", | ||
463 | regs->gr[28]); | ||
464 | |||
462 | return 1; | 465 | return 1; |
463 | } | 466 | } |
464 | 467 | ||
@@ -593,13 +596,8 @@ do_signal(struct pt_regs *regs, long in_syscall) | |||
593 | /* Whee! Actually deliver the signal. If the | 596 | /* Whee! Actually deliver the signal. If the |
594 | delivery failed, we need to continue to iterate in | 597 | delivery failed, we need to continue to iterate in |
595 | this loop so we can deliver the SIGSEGV... */ | 598 | this loop so we can deliver the SIGSEGV... */ |
596 | if (handle_signal(signr, &info, &ka, regs, in_syscall)) { | 599 | if (handle_signal(signr, &info, &ka, regs, in_syscall)) |
597 | DBG(1,KERN_DEBUG "do_signal: Exit (success), regs->gr[28] = %ld\n", | ||
598 | regs->gr[28]); | ||
599 | if (test_thread_flag(TIF_RESTORE_SIGMASK)) | ||
600 | clear_thread_flag(TIF_RESTORE_SIGMASK); | ||
601 | return; | 600 | return; |
602 | } | ||
603 | } | 601 | } |
604 | /* end of while(1) looping forever if we can't force a signal */ | 602 | /* end of while(1) looping forever if we can't force a signal */ |
605 | 603 | ||