summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/signal_32.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-01-10 08:37:52 +0100
committerPaul Mundt <lethal@linux-sh.org>2012-01-10 08:37:52 +0100
commit7a73c81ec37c0c59ee04d4f6eb05c9b7b1413741 (patch)
treebc5d9770473e9fbdc6ee59b2aa359dcfafe6809f /arch/sh/kernel/signal_32.c
parentMerge branch 'common/clkfwk' into sh-latest (diff)
parentsh: Remove redundant try_to_freeze() invocations. (diff)
downloadlinux-7a73c81ec37c0c59ee04d4f6eb05c9b7b1413741.tar.xz
linux-7a73c81ec37c0c59ee04d4f6eb05c9b7b1413741.zip
Merge branch 'sh/urgent' into sh-latest
Diffstat (limited to 'arch/sh/kernel/signal_32.c')
-rw-r--r--arch/sh/kernel/signal_32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c
index 579cd2ca358d..a7a55ed43a59 100644
--- a/arch/sh/kernel/signal_32.c
+++ b/arch/sh/kernel/signal_32.c
@@ -588,9 +588,6 @@ static void do_signal(struct pt_regs *regs, unsigned int save_r0)
if (!user_mode(regs))
return;
- if (try_to_freeze())
- goto no_signal;
-
if (current_thread_info()->status & TS_RESTORE_SIGMASK)
oldset = &current->saved_sigmask;
else
@@ -618,7 +615,6 @@ static void do_signal(struct pt_regs *regs, unsigned int save_r0)
return;
}
-no_signal:
/* Did we come from a system call? */
if (regs->tra >= 0) {
/* Restart the system call - no handlers present */