diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-01-10 16:37:06 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-10 16:37:06 +0900 |
commit | abef364050bcf8f46b0cb4bd47947ec2951664d3 (patch) | |
tree | 9775c7f8cb2b5f64d5bd71da6c4c0b86adcfc0d7 /arch/sh/kernel/signal_32.c | |
parent | 6330c04bb455e10eb6cc6d2552a593af54c6dd96 (diff) |
sh: Remove redundant try_to_freeze() invocations.
get_signal_to_deliver() takes care of this, kill off the redundancies, as
per the avr32 change.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/signal_32.c')
-rw-r--r-- | arch/sh/kernel/signal_32.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index 579cd2ca358..a7a55ed43a5 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 = ¤t->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 */ |