commit | ee940d8dccd899aa1777ea84da3d9cd04b1d2e8e | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Mon Apr 25 12:33:15 2011 +0200 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Tue May 17 23:19:17 2011 +0200 |
tree | 0bb19033f820a485dea0c5fc848206b6479fc7df | |
parent | 3c431936087e93d2219a184a8e19eaa68077e379 [diff] |
Freezer: Use SMP barriers The freezer processes are dealing with multiple threads running simultaneously, and on a UP system, the memory reads/writes do not need barriers to keep things in sync. These are only needed on SMP systems, so use SMP barriers instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>