aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/adb-iop.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-10-10 13:38:57 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-10-14 17:36:50 +0200
commit95fdac73725c15072d068ac7f131958cf5c324e4 (patch)
tree3e76d637ca4762fdaad107c829eb2b9545da3717 /drivers/macintosh/adb-iop.c
parent9e8ab74ddaa591575f599248080a1f0d917a56ee (diff)
downloadkernel_samsung_aries-95fdac73725c15072d068ac7f131958cf5c324e4.zip
kernel_samsung_aries-95fdac73725c15072d068ac7f131958cf5c324e4.tar.gz
kernel_samsung_aries-95fdac73725c15072d068ac7f131958cf5c324e4.tar.bz2
macintosh: Remove BKL from ans-lcd
The ans-lcd driver got the cycle_kernel_lock() in anslcd_open() from the BKL pushdown and it still uses the locked ioctl. The BKL serialization in this driver is more than obscure and definitely does not cover all possible corner cases. Protect the access to the hardware with a local mutex and get rid of BKL and locked ioctl. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> LKML-Reference: <20091010153349.966159859@linutronix.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/adb-iop.c')
0 files changed, 0 insertions, 0 deletions