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/blackfin/kernel | |
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/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/signal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index b25cbfef8192..93d1ecd9213c 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c | |||
@@ -285,9 +285,6 @@ asmlinkage void do_signal(struct pt_regs *regs) | |||
285 | 285 | ||
286 | current->thread.esp0 = (unsigned long)regs; | 286 | current->thread.esp0 = (unsigned long)regs; |
287 | 287 | ||
288 | if (try_to_freeze()) | ||
289 | goto no_signal; | ||
290 | |||
291 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); | 288 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); |
292 | if (signr > 0) { | 289 | if (signr > 0) { |
293 | /* Whee! Actually deliver the signal. */ | 290 | /* Whee! Actually deliver the signal. */ |
@@ -295,7 +292,6 @@ asmlinkage void do_signal(struct pt_regs *regs) | |||
295 | return; | 292 | return; |
296 | } | 293 | } |
297 | 294 | ||
298 | no_signal: | ||
299 | /* Did we come from a system call? */ | 295 | /* Did we come from a system call? */ |
300 | if (regs->orig_p0 >= 0) | 296 | if (regs->orig_p0 >= 0) |
301 | /* Restart the system call - no handlers present */ | 297 | /* Restart the system call - no handlers present */ |