Messages in this thread Patch in this message | | | Subject | [PATCH] try_to_freeze call fixes. | From | Nigel Cunningham <> | Date | Mon, 18 Jul 2005 13:36:48 +1000 |
| |
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/
| |