aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/ans-lcd.h
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-09-11 20:18:44 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-08 22:53:10 +1100
commit5ce6185c2ef4e5bcb268f0fdbfca90e787e1bf6d (patch)
tree9424be1885328bf4e4c32a475c9abd2f6301dde3 /drivers/macintosh/ans-lcd.h
parentmacintosh/via-macii: Remove BUG_ON assertions (diff)
downloadlinux-dev-5ce6185c2ef4e5bcb268f0fdbfca90e787e1bf6d.tar.xz
linux-dev-5ce6185c2ef4e5bcb268f0fdbfca90e787e1bf6d.zip
macintosh/via-macii: Simplify locking
Modifying the request queue or changing the current state requires mutual exclusion. Use local_irq_disable() consistently for this rather than disabling the ADB interrupt. This simplifies the locking scheme and brings via-macii into line with the other ADB drivers. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh/ans-lcd.h')
0 files changed, 0 insertions, 0 deletions