Subject: Re: [patch 22/28] macintosh: Remove BKL from ans-lcd

From: Benjamin Herrenschmidt <[email-masked]>
Date: Sun, 11 Oct 2009 20:02:02 +1100

On Sat, 2009-10-10 at 15:37 +0000, Thomas Gleixner wrote:
> plain text document attachment (drivers-mac-ans-lcd-remove-bkl.patch)
> 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 <[email-masked]>
> Cc: Benjamin Herrenschmidt <[email-masked]>
> Cc: [email-masked]
> ---

While I -do- have an ANS ... it's rusting in the back of my garage and I
really don't have time nor space to set it up and get it back to booting
shape :-) (It's a pretty huge thing)

Patch looks good, so if it builds...

Acked-by: Benjamin Herrenschmidt <[email-masked]>

Cheers,
Ben.