aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-08-03 14:36:37 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 08:37:30 -0400
commit048c6140c0f5d0bb1af8308c91dfa560ac65a296 (patch)
tree8b49aaa9cb05e7f6a5bbab924a09398db195f4f5
parentb4b30a5a0a270e6b3fef88373ad35d235a047fc1 (diff)
[MIPS] Don't call try_to_freeze in do_signal & co.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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,