try_to_freeze call fixes.
PATCH 1/1 try_to_freeze call fixes.
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 <[email protected]>
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(-)
arch/mips/kernel/irixsig.c +1 -1
@@ -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)
arch/mips/kernel/signal32.c +1 -1
@@ -774,7 +774,7 @@ int do_signal32(sigset_t *oldset, structif (!user_mode (regs))return 1 ; -if (try_to_freeze (0 )) +if (try_to_freeze ()) goto no_signal;if (!oldset)
arch/sh/kernel/signal.c +1 -1
@@ -579,7 +579,7 @@ int do_signal(struct pt_regs *regs, sigsif (!user_mode (regs))return 1 ; -if (try_to_freeze (0 )) +if (try_to_freeze ()) goto no_signal;if (!oldset)
arch/sh64/kernel/signal.c +1 -1
@@ -697,7 +697,7 @@ int do_signal(struct pt_regs *regs, sigsif (!user_mode (regs))return 1 ; -if (try_to_freeze (0 )) +if (try_to_freeze ()) goto no_signal;if (!oldset)
Signature · 5 lines
Evolution. Enumerate the requirements. Consider the interdependencies. Calculate the probabilities. Be amazed that people believe it happened.