aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/irixsig.c4
-rw-r--r--arch/mips/kernel/signal.c4
-rw-r--r--arch/mips/kernel/signal32.c4
3 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index 676e868d26fb..e6f40609ba6a 100644
--- a/arch/mips/kernel/irixsig.c
+++ b/arch/mips/kernel/irixsig.c
@@ -186,9 +186,6 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
186 if (!user_mode(regs)) 186 if (!user_mode(regs))
187 return 1; 187 return 1;
188 188
189 if (try_to_freeze())
190 goto no_signal;
191
192 if (!oldset) 189 if (!oldset)
193 oldset = &current->blocked; 190 oldset = &current->blocked;
194 191
@@ -196,7 +193,6 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
196 if (signr > 0) 193 if (signr > 0)
197 return handle_signal(signr, &info, &ka, oldset, regs); 194 return handle_signal(signr, &info, &ka, oldset, regs);
198 195
199no_signal:
200 /* 196 /*
201 * Who's code doesn't conform to the restartable syscall convention 197 * Who's code doesn't conform to the restartable syscall convention
202 * dies here!!! The li instruction, a single machine instruction, 198 * dies here!!! The li instruction, a single machine instruction,
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index 6b4d9be31615..dc8956e3a396 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -424,9 +424,6 @@ void do_signal(struct pt_regs *regs)
424 if (!user_mode(regs)) 424 if (!user_mode(regs))
425 return; 425 return;
426 426
427 if (try_to_freeze())
428 goto no_signal;
429
430 if (test_thread_flag(TIF_RESTORE_SIGMASK)) 427 if (test_thread_flag(TIF_RESTORE_SIGMASK))
431 oldset = &current->saved_sigmask; 428 oldset = &current->saved_sigmask;
432 else 429 else
@@ -448,7 +445,6 @@ void do_signal(struct pt_regs *regs)
448 } 445 }
449 } 446 }
450 447
451no_signal:
452 /* 448 /*
453 * Who's code doesn't conform to the restartable syscall convention 449 * Who's code doesn't conform to the restartable syscall convention
454 * dies here!!! The li instruction, a single machine instruction, 450 * dies here!!! The li instruction, a single machine instruction,
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c
index f32a22997c3d..30980df56cd1 100644
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -815,9 +815,6 @@ void do_signal32(struct pt_regs *regs)
815 if (!user_mode(regs)) 815 if (!user_mode(regs))
816 return; 816 return;
817 817
818 if (try_to_freeze())
819 goto no_signal;
820
821 if (test_thread_flag(TIF_RESTORE_SIGMASK)) 818 if (test_thread_flag(TIF_RESTORE_SIGMASK))
822 oldset = &current->saved_sigmask; 819 oldset = &current->saved_sigmask;
823 else 820 else
@@ -838,7 +835,6 @@ void do_signal32(struct pt_regs *regs)
838 } 835 }
839 } 836 }
840 837
841no_signal:
842 /* 838 /*
843 * Who's code doesn't conform to the restartable syscall convention 839 * Who's code doesn't conform to the restartable syscall convention
844 * dies here!!! The li instruction, a single machine instruction, 840 * dies here!!! The li instruction, a single machine instruction,