aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/signal.c')
-rw-r--r--arch/xtensa/kernel/signal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c
index 3e83913a3c7c..ca98b86ef9a7 100644
--- a/arch/xtensa/kernel/signal.c
+++ b/arch/xtensa/kernel/signal.c
@@ -453,9 +453,6 @@ static void do_signal(struct pt_regs *regs)
453 int signr; 453 int signr;
454 struct k_sigaction ka; 454 struct k_sigaction ka;
455 455
456 if (try_to_freeze())
457 goto no_signal;
458
459 task_pt_regs(current)->icountlevel = 0; 456 task_pt_regs(current)->icountlevel = 0;
460 457
461 signr = get_signal_to_deliver(&info, &ka, regs, NULL); 458 signr = get_signal_to_deliver(&info, &ka, regs, NULL);
@@ -506,7 +503,6 @@ static void do_signal(struct pt_regs *regs)
506 return; 503 return;
507 } 504 }
508 505
509no_signal:
510 /* Did we come from a system call? */ 506 /* Did we come from a system call? */
511 if ((signed) regs->syscall >= 0) { 507 if ((signed) regs->syscall >= 0) {
512 /* Restart the system call - no handlers present */ 508 /* Restart the system call - no handlers present */