diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-27 01:18:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 12:58:49 -0400 |
commit | bf343dfd877ebf16cfbc31ba121606c5b6cef01f (patch) | |
tree | 2829c831f6a517fb4e12b891bf03e12958fb1819 /arch/h8300 | |
parent | a610d6e672d6d3723e8da257ad4a8a288a8f2f89 (diff) |
don't call try_to_freeze() from do_signal()
get_signal_to_deliver() will handle it itself
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/kernel/signal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c index eac26c9ffc44..8fbfc39574f5 100644 --- a/arch/h8300/kernel/signal.c +++ b/arch/h8300/kernel/signal.c | |||
@@ -466,9 +466,6 @@ statis void do_signal(struct pt_regs *regs) | |||
466 | if ((regs->ccr & 0x10)) | 466 | if ((regs->ccr & 0x10)) |
467 | return; | 467 | return; |
468 | 468 | ||
469 | if (try_to_freeze()) | ||
470 | goto no_signal; | ||
471 | |||
472 | current->thread.esp0 = (unsigned long) regs; | 469 | current->thread.esp0 = (unsigned long) regs; |
473 | 470 | ||
474 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); | 471 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); |
@@ -477,7 +474,6 @@ statis void do_signal(struct pt_regs *regs) | |||
477 | handle_signal(signr, &info, &ka, regs); | 474 | handle_signal(signr, &info, &ka, regs); |
478 | return; | 475 | return; |
479 | } | 476 | } |
480 | no_signal: | ||
481 | /* Did we come from a system call? */ | 477 | /* Did we come from a system call? */ |
482 | if (regs->orig_er0 >= 0) { | 478 | if (regs->orig_er0 >= 0) { |
483 | /* Restart the system call - no handlers present */ | 479 | /* Restart the system call - no handlers present */ |