From: Rusty Russell Date: Sun, 16 Nov 2008 21:52:18 +0000 (+1030) Subject: stop_machine: fix race with return value (fixes Bug #11989) X-Git-Tag: v2.6.28-rc6~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e14c8bf86350f6c39186a139c5c584a6111b2f01;p=pandora-kernel.git stop_machine: fix race with return value (fixes Bug #11989) Bug #11989: Suspend failure on NForce4-based boards due to chanes in stop_machine We should not access active.fnret outside the lock; in theory the next stop_machine could overwrite it. Signed-off-by: Rusty Russell Tested-by: "Rafael J. Wysocki" Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed