diff options
author | Nigel Cunningham <ncunningham@cyclades.com> | 2005-07-27 14:43:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:25:49 -0400 |
commit | 0e6c1f5facffd94000832d402be1ea75f73c90e3 (patch) | |
tree | 81698536c8b558c2bf71f63ac33518c21474a663 | |
parent | 54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 (diff) |
[PATCH] try_to_freeze() call fixes
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>
-rw-r--r-- | arch/mips/kernel/irixsig.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/signal32.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/sh64/kernel/signal.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 3f956f809fa4..40244782a8e5 100644 --- a/arch/mips/kernel/irixsig.c +++ b/arch/mips/kernel/irixsig.c | |||
@@ -178,7 +178,7 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs) | |||
178 | if (!user_mode(regs)) | 178 | if (!user_mode(regs)) |
179 | return 1; | 179 | return 1; |
180 | 180 | ||
181 | if (try_to_freeze(0)) | 181 | if (try_to_freeze()) |
182 | goto no_signal; | 182 | goto no_signal; |
183 | 183 | ||
184 | if (!oldset) | 184 | if (!oldset) |
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c index 1f3b19124c01..c1a69cf232f9 100644 --- a/arch/mips/kernel/signal32.c +++ b/arch/mips/kernel/signal32.c | |||
@@ -774,7 +774,7 @@ int do_signal32(sigset_t *oldset, struct pt_regs *regs) | |||
774 | if (!user_mode(regs)) | 774 | if (!user_mode(regs)) |
775 | return 1; | 775 | return 1; |
776 | 776 | ||
777 | if (try_to_freeze(0)) | 777 | if (try_to_freeze()) |
778 | goto no_signal; | 778 | goto no_signal; |
779 | 779 | ||
780 | if (!oldset) | 780 | if (!oldset) |
diff --git a/arch/sh/kernel/signal.c b/arch/sh/kernel/signal.c index 06f1b47eded9..8022243f0178 100644 --- a/arch/sh/kernel/signal.c +++ b/arch/sh/kernel/signal.c | |||
@@ -579,7 +579,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset) | |||
579 | if (!user_mode(regs)) | 579 | if (!user_mode(regs)) |
580 | return 1; | 580 | return 1; |
581 | 581 | ||
582 | if (try_to_freeze(0)) | 582 | if (try_to_freeze()) |
583 | goto no_signal; | 583 | goto no_signal; |
584 | 584 | ||
585 | if (!oldset) | 585 | if (!oldset) |
diff --git a/arch/sh64/kernel/signal.c b/arch/sh64/kernel/signal.c index 45ad1026dde7..c6a14a87c59b 100644 --- a/arch/sh64/kernel/signal.c +++ b/arch/sh64/kernel/signal.c | |||
@@ -697,7 +697,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset) | |||
697 | if (!user_mode(regs)) | 697 | if (!user_mode(regs)) |
698 | return 1; | 698 | return 1; |
699 | 699 | ||
700 | if (try_to_freeze(0)) | 700 | if (try_to_freeze()) |
701 | goto no_signal; | 701 | goto no_signal; |
702 | 702 | ||
703 | if (!oldset) | 703 | if (!oldset) |