lkml.org 
[lkml]   [2005]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] try_to_freeze call fixes.
From
Date
Hi all.

Here are fixes for four try_to_freeze calls that are still (incorrectly)
using a parameter after the recent try_to_freeze() changes.

Regards,

Nigel

Signed-Off by: Nigel Cunningham <nigel@suspend2.net>

mips/kernel/irixsig.c | 2 +-
mips/kernel/signal32.c | 2 +-
sh/kernel/signal.c | 2 +-
sh64/kernel/signal.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff -ruNp 202-more-try-to-freeze.patch-old/arch/mips/kernel/irixsig.c 202-more-try-to-freeze.patch-new/arch/mips/kernel/irixsig.c
--- 202-more-try-to-freeze.patch-old/arch/mips/kernel/irixsig.c 2005-06-20 11:46:44.000000000 +1000
+++ 202-more-try-to-freeze.patch-new/arch/mips/kernel/irixsig.c 2005-07-09 20:41:44.000000000 +1000
@@ -178,7 +178,7 @@ asmlinkage int do_irix_signal(sigset_t *
if (!user_mode(regs))
return 1;

- if (try_to_freeze(0))
+ if (try_to_freeze())
goto no_signal;

if (!oldset)
diff -ruNp 202-more-try-to-freeze.patch-old/arch/mips/kernel/signal32.c 202-more-try-to-freeze.patch-new/arch/mips/kernel/signal32.c
--- 202-more-try-to-freeze.patch-old/arch/mips/kernel/signal32.c 2005-06-20 11:46:44.000000000 +1000
+++ 202-more-try-to-freeze.patch-new/arch/mips/kernel/signal32.c 2005-07-09 20:41:44.000000000 +1000
@@ -774,7 +774,7 @@ int do_signal32(sigset_t *oldset, struct
if (!user_mode(regs))
return 1;

- if (try_to_freeze(0))
+ if (try_to_freeze())
goto no_signal;

if (!oldset)
diff -ruNp 202-more-try-to-freeze.patch-old/arch/sh/kernel/signal.c 202-more-try-to-freeze.patch-new/arch/sh/kernel/signal.c
--- 202-more-try-to-freeze.patch-old/arch/sh/kernel/signal.c 2005-06-20 11:46:47.000000000 +1000
+++ 202-more-try-to-freeze.patch-new/arch/sh/kernel/signal.c 2005-07-09 20:41:45.000000000 +1000
@@ -579,7 +579,7 @@ int do_signal(struct pt_regs *regs, sigs
if (!user_mode(regs))
return 1;

- if (try_to_freeze(0))
+ if (try_to_freeze())
goto no_signal;

if (!oldset)
diff -ruNp 202-more-try-to-freeze.patch-old/arch/sh64/kernel/signal.c 202-more-try-to-freeze.patch-new/arch/sh64/kernel/signal.c
--- 202-more-try-to-freeze.patch-old/arch/sh64/kernel/signal.c 2005-06-20 11:46:47.000000000 +1000
+++ 202-more-try-to-freeze.patch-new/arch/sh64/kernel/signal.c 2005-07-09 20:41:45.000000000 +1000
@@ -697,7 +697,7 @@ int do_signal(struct pt_regs *regs, sigs
if (!user_mode(regs))
return 1;

- if (try_to_freeze(0))
+ if (try_to_freeze())
goto no_signal;

if (!oldset)
--
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.
Be amazed that people believe it happened.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-18 16:19    [W:0.033 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site