diff options
author | Alexander Gordeev <lasaine@lvk.cs.msu.su> | 2011-01-26 00:07:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-26 01:49:59 +0100 |
commit | cbeb4b7ad5346516d2ee726395eb5722b25a0a01 (patch) | |
tree | e9ac41dd3ec1bb14b52f6b9325cb2968f2799faf /Kbuild | |
parent | langwell_gpio: modify EOI handling following change of kernel irq subsystem (diff) | |
download | linux-cbeb4b7ad5346516d2ee726395eb5722b25a0a01.tar.xz linux-cbeb4b7ad5346516d2ee726395eb5722b25a0a01.zip |
parport: make lockdep happy with waitlist_lock
parport_unregister_device() should never be used when interrupts are
enabled in hardware and irq handler is registered so there is no need to
disable interrupts when using waitlist_lock. But there is no way to
explain this subtle semantics to lockdep analyzer.
So disable interrupts here too to simplify things. The price is
negligible.
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions