aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-27 01:18:52 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-06-01 12:58:49 -0400
commitbf343dfd877ebf16cfbc31ba121606c5b6cef01f (patch)
tree2829c831f6a517fb4e12b891bf03e12958fb1819 /arch/hexagon/kernel
parenta610d6e672d6d3723e8da257ad4a8a288a8f2f89 (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/hexagon/kernel')
-rw-r--r--arch/hexagon/kernel/signal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/hexagon/kernel/signal.c b/arch/hexagon/kernel/signal.c
index 5f7d7c8a1328..c9caf7401191 100644
--- a/arch/hexagon/kernel/signal.c
+++ b/arch/hexagon/kernel/signal.c
@@ -205,9 +205,6 @@ static void do_signal(struct pt_regs *regs)
205 if (!user_mode(regs)) 205 if (!user_mode(regs))
206 return; 206 return;
207 207
208 if (try_to_freeze())
209 goto no_signal;
210
211 signo = get_signal_to_deliver(&info, &sigact, regs, NULL); 208 signo = get_signal_to_deliver(&info, &sigact, regs, NULL);
212 209
213 if (signo > 0) { 210 if (signo > 0) {
@@ -215,7 +212,6 @@ static void do_signal(struct pt_regs *regs)
215 return; 212 return;
216 } 213 }
217 214
218no_signal:
219 /* 215 /*
220 * If we came from a system call, handle the restart. 216 * If we came from a system call, handle the restart.
221 */ 217 */