]> err.no Git - linux-2.6/commitdiff
[MIPS] Don't call try_to_freeze in do_signal & co.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 3 Aug 2006 18:36:37 +0000 (19:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:30 +0000 (13:37 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/irixsig.c
arch/mips/kernel/signal.c
arch/mips/kernel/signal32.c

index 676e868d26fb15ab79b23d7c69be792276185be8..e6f40609ba6a987ffb3189546ed3262795027b99 100644 (file)
@@ -186,9 +186,6 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
        if (!user_mode(regs))
                return 1;
 
-       if (try_to_freeze())
-               goto no_signal;
-
        if (!oldset)
                oldset = &current->blocked;
 
@@ -196,7 +193,6 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
        if (signr > 0)
                return handle_signal(signr, &info, &ka, oldset, regs);
 
-no_signal:
        /*
         * Who's code doesn't conform to the restartable syscall convention
         * dies here!!!  The li instruction, a single machine instruction,
index 6b4d9be31615b3325d50d6fb48c6627c7f748850..dc8956e3a396565544ca648f0c4893784a6b5e5b 100644 (file)
@@ -424,9 +424,6 @@ void do_signal(struct pt_regs *regs)
        if (!user_mode(regs))
                return;
 
-       if (try_to_freeze())
-               goto no_signal;
-
        if (test_thread_flag(TIF_RESTORE_SIGMASK))
                oldset = &current->saved_sigmask;
        else
@@ -448,7 +445,6 @@ void do_signal(struct pt_regs *regs)
                }
        }
 
-no_signal:
        /*
         * Who's code doesn't conform to the restartable syscall convention
         * dies here!!!  The li instruction, a single machine instruction,
index f32a22997c3d68d1754f745564b9dbac4e3928d2..30980df56cd166b5808a2a2cc0ef7f6862a1faed 100644 (file)
@@ -815,9 +815,6 @@ void do_signal32(struct pt_regs *regs)
        if (!user_mode(regs))
                return;
 
-       if (try_to_freeze())
-               goto no_signal;
-
        if (test_thread_flag(TIF_RESTORE_SIGMASK))
                oldset = &current->saved_sigmask;
        else
@@ -838,7 +835,6 @@ void do_signal32(struct pt_regs *regs)
                }
        }
 
-no_signal:
        /*
         * Who's code doesn't conform to the restartable syscall convention
         * dies here!!!  The li instruction, a single machine instruction,