]> err.no Git - linux-2.6/commitdiff
[PATCH] try_to_freeze() call fixes
authorNigel Cunningham <ncunningham@cyclades.com>
Wed, 27 Jul 2005 18:43:34 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:49 +0000 (16:25 -0700)
Here are fixes for four try_to_freeze calls that are still (incorrectly)
using a parameter after the recent try_to_freeze() changes.

Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/kernel/irixsig.c
arch/mips/kernel/signal32.c
arch/sh/kernel/signal.c
arch/sh64/kernel/signal.c

index 3f956f809fa4021731f1ed9ab95d82730a8cd169..40244782a8e54185d263de24729f83b135150096 100644 (file)
@@ -178,7 +178,7 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
        if (!user_mode(regs))
                return 1;
 
-       if (try_to_freeze(0))
+       if (try_to_freeze())
                goto no_signal;
 
        if (!oldset)
index 1f3b19124c01fdeca1a01a7a79a698440136b6fa..c1a69cf232f937e68cac85eaa8c47aec58d6650b 100644 (file)
@@ -774,7 +774,7 @@ int do_signal32(sigset_t *oldset, struct pt_regs *regs)
        if (!user_mode(regs))
                return 1;
 
-       if (try_to_freeze(0))
+       if (try_to_freeze())
                goto no_signal;
 
        if (!oldset)
index 06f1b47eded96b03ab5a55c58c97cd9c3a4ffe41..8022243f017828a44875f6f79b86ff487388b0ec 100644 (file)
@@ -579,7 +579,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset)
        if (!user_mode(regs))
                return 1;
 
-       if (try_to_freeze(0))
+       if (try_to_freeze())
                goto no_signal;
 
        if (!oldset)
index 45ad1026dde759d22e6b68b9646c760a6d797077..c6a14a87c59b4a887664a34c6604c96515c31417 100644 (file)
@@ -697,7 +697,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset)
        if (!user_mode(regs))
                return 1;
 
-       if (try_to_freeze(0))
+       if (try_to_freeze())
                goto no_signal;
 
        if (!oldset)