drivers/macintosh/smu.c: fix locking snafu
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 17 Apr 2007 05:53:25 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Apr 2007 23:36:27 +0000 (16:36 -0700)
commit94256dd680f837dc14dd7d1377c5326fb3362721
tree5f64a661c86e8d0c7f656952beb6ae58d24bbcbe
parent07a0cfec30848319cc86f21cce0d2efeca593e1a
drivers/macintosh/smu.c: fix locking snafu

It got its lock and unlock backwards.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=8334

(obviously, this code could be using plain old spin_lock_irq(), too)

Cc: <matthias.kaehlcke@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/macintosh/smu.c