Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Nigel Cunningham and committed by
Linus Torvalds
0e6c1f5f 54264911

+4 -4
+1 -1
arch/mips/kernel/irixsig.c
··· 178 178 if (!user_mode(regs)) 179 179 return 1; 180 180 181 - if (try_to_freeze(0)) 181 + if (try_to_freeze()) 182 182 goto no_signal; 183 183 184 184 if (!oldset)
+1 -1
arch/mips/kernel/signal32.c
··· 774 774 if (!user_mode(regs)) 775 775 return 1; 776 776 777 - if (try_to_freeze(0)) 777 + if (try_to_freeze()) 778 778 goto no_signal; 779 779 780 780 if (!oldset)
+1 -1
arch/sh/kernel/signal.c
··· 579 579 if (!user_mode(regs)) 580 580 return 1; 581 581 582 - if (try_to_freeze(0)) 582 + if (try_to_freeze()) 583 583 goto no_signal; 584 584 585 585 if (!oldset)
+1 -1
arch/sh64/kernel/signal.c
··· 697 697 if (!user_mode(regs)) 698 698 return 1; 699 699 700 - if (try_to_freeze(0)) 700 + if (try_to_freeze()) 701 701 goto no_signal; 702 702 703 703 if (!oldset)