diff options
author | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> | 2008-03-31 19:22:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-01 14:16:04 -0400 |
commit | cabce28ec0a0ae3d0ddfa4461f0e8be94ade9e46 (patch) | |
tree | d40f357c77bf99a33b9b81123b2c3149adf3717d /drivers/firmware | |
parent | a9edadbf790d72adf6ebed476cb5caf7743e7e4a (diff) |
plip: replace spin_lock_irq with spin_lock_irqsave in irq context
Plip uses spin_lock_irq/spin_unlock_irq in its IRQ handler (called from
parport IRQ handler), the latter enables interrupts without parport
subsystem IRQ handler expecting it.
The bug can be seen if you compile kernel with lock dependency checking
and use plip --- it produces a warning.
This patch changes it to spin_lock_irqsave/spin_lock_irqrestore, so that
it doesn't enable interrupts when already disabled.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions