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/unicore32 | |
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/unicore32')
-rw-r--r-- | arch/unicore32/kernel/signal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/unicore32/kernel/signal.c b/arch/unicore32/kernel/signal.c index dc41b11f8a57..af962e57efb2 100644 --- a/arch/unicore32/kernel/signal.c +++ b/arch/unicore32/kernel/signal.c | |||
@@ -396,16 +396,12 @@ static void do_signal(struct pt_regs *regs, int syscall) | |||
396 | if (!user_mode(regs)) | 396 | if (!user_mode(regs)) |
397 | return; | 397 | return; |
398 | 398 | ||
399 | if (try_to_freeze()) | ||
400 | goto no_signal; | ||
401 | |||
402 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); | 399 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); |
403 | if (signr > 0) { | 400 | if (signr > 0) { |
404 | handle_signal(signr, &ka, &info, regs, syscall); | 401 | handle_signal(signr, &ka, &info, regs, syscall); |
405 | return; | 402 | return; |
406 | } | 403 | } |
407 | 404 | ||
408 | no_signal: | ||
409 | /* | 405 | /* |
410 | * No signal to deliver to the process - restart the syscall. | 406 | * No signal to deliver to the process - restart the syscall. |
411 | */ | 407 | */ |