diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-10-10 13:38:57 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-10-14 17:36:50 +0200 |
commit | 95fdac73725c15072d068ac7f131958cf5c324e4 (patch) | |
tree | 3e76d637ca4762fdaad107c829eb2b9545da3717 /drivers/char/hw_random | |
parent | 9e8ab74ddaa591575f599248080a1f0d917a56ee (diff) |
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/char/hw_random')
0 files changed, 0 insertions, 0 deletions