Commit 0e6c1f5f authored by Nigel Cunningham's avatar Nigel Cunningham Committed by Linus Torvalds
Browse files

[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: default avatarNigel Cunningham <nigel@suspend2.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 54264911
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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)