summaryrefslogtreecommitdiffstats
path: root/drivers/power/wm97xx_battery.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2009-01-08 03:14:18 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-13 04:48:01 +0100
commit9fef3d2d15ae8ca24e4a145f2e189eea145d18c2 (patch)
treedeb3764686dcbeb5ab013ecf6183d55c514f216f /drivers/power/wm97xx_battery.c
parentpowerpc: Cleanup from l64 to ll64 change: drivers/net (diff)
downloadlinux-9fef3d2d15ae8ca24e4a145f2e189eea145d18c2.tar.xz
linux-9fef3d2d15ae8ca24e4a145f2e189eea145d18c2.zip
hvc_console: Change an mb() to smp_mb() and add some comments
I remember some history on this barrier. There was a race between open via /dev/console and the tty being fully setup. Its also why there is a temporary variable and the global is assigned at the end of the function. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/power/wm97xx_battery.c')
0 files changed, 0 insertions, 0 deletions