Skip to content

Commit

Permalink
[PATCH] try_to_freeze() call fixes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nigel Cunningham authored and Linus Torvalds committed Jul 27, 2005
1 parent 5426491 commit 0e6c1f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/mips/kernel/irixsig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/kernel/signal32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion arch/sh/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion arch/sh64/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0e6c1f5

Please sign in to comment.