commit | 5ce6185c2ef4e5bcb268f0fdbfca90e787e1bf6d | [log] [tgz] |
---|---|---|
author | Finn Thain <fthain@telegraphics.com.au> | Tue Sep 11 20:18:44 2018 -0400 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Oct 08 22:53:10 2018 +1100 |
tree | 9424be1885328bf4e4c32a475c9abd2f6301dde3 | |
parent | 5f93d7081a47e1972031ccf57c4b2779eee162fb [diff] |
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>