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/xtensa | |
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/xtensa')
-rw-r--r-- | arch/xtensa/kernel/signal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c index 3e83913a3c7c..ca98b86ef9a7 100644 --- a/arch/xtensa/kernel/signal.c +++ b/arch/xtensa/kernel/signal.c | |||
@@ -453,9 +453,6 @@ static void do_signal(struct pt_regs *regs) | |||
453 | int signr; | 453 | int signr; |
454 | struct k_sigaction ka; | 454 | struct k_sigaction ka; |
455 | 455 | ||
456 | if (try_to_freeze()) | ||
457 | goto no_signal; | ||
458 | |||
459 | task_pt_regs(current)->icountlevel = 0; | 456 | task_pt_regs(current)->icountlevel = 0; |
460 | 457 | ||
461 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); | 458 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); |
@@ -506,7 +503,6 @@ static void do_signal(struct pt_regs *regs) | |||
506 | return; | 503 | return; |
507 | } | 504 | } |
508 | 505 | ||
509 | no_signal: | ||
510 | /* Did we come from a system call? */ | 506 | /* Did we come from a system call? */ |
511 | if ((signed) regs->syscall >= 0) { | 507 | if ((signed) regs->syscall >= 0) { |
512 | /* Restart the system call - no handlers present */ | 508 | /* Restart the system call - no handlers present */ |