From: Thomas Gleixner Date: Sat, 10 Oct 2009 11:38:57 +0000 (+0200) Subject: macintosh: Remove BKL from ans-lcd X-Git-Tag: v2.6.33-rc1~358^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95fdac73725c15072d068ac7f131958cf5c324e4;p=pandora-kernel.git 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 LKML-Reference: <20091010153349.966159859@linutronix.de> Acked-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed