Freezer: Use SMP barriers
commitee940d8dccd899aa1777ea84da3d9cd04b1d2e8e
authorMike Frysinger <vapier@gentoo.org>
Mon, 25 Apr 2011 10:33:15 +0000 (25 12:33 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 17 May 2011 21:19:17 +0000 (17 23:19 +0200)
tree0bb19033f820a485dea0c5fc848206b6479fc7df
parent3c431936087e93d2219a184a8e19eaa68077e379
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>
kernel/freezer.c