commit | e14c8bf86350f6c39186a139c5c584a6111b2f01 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Nov 17 08:22:18 2008 +1030 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Nov 16 15:09:52 2008 -0800 |
tree | c1e0b08fc5b8efff001aecf5e6fb803423bd1c71 | |
parent | 5c06fe772da43db63b053addcd2c267f76d0be91 [diff] |
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 <rusty@rustcorp.com.au> Tested-by: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>