summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-pmu-event.h
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-09-12 02:18:44 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-08 13:53:10 +0200
commit5ce6185c2ef4e5bcb268f0fdbfca90e787e1bf6d (patch)
tree9424be1885328bf4e4c32a475c9abd2f6301dde3 /drivers/macintosh/via-pmu-event.h
parentmacintosh/via-macii: Remove BUG_ON assertions (diff)
downloadlinux-5ce6185c2ef4e5bcb268f0fdbfca90e787e1bf6d.tar.xz
linux-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/via-pmu-event.h')
0 files changed, 0 insertions, 0 deletions