diff options
author | Alexander Gordeev <[email protected]> | 2011-01-25 15:07:16 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-26 10:49:59 +1000 |
commit | cbeb4b7ad5346516d2ee726395eb5722b25a0a01 (patch) | |
tree | e9ac41dd3ec1bb14b52f6b9325cb2968f2799faf /tools/perf/util/trace-event-scripting.c | |
parent | 0766d20fdb9178b908f0268c16b464c11822c5c2 (diff) |
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions