]> err.no Git - linux-2.6/commit
[libata] wrap kmap_atomic(KM_IRQ0) with local_irq_save/restore()
authorJeff Garzik <jeff@garzik.org>
Sat, 1 Mar 2008 00:10:51 +0000 (19:10 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Mar 2008 00:10:51 +0000 (19:10 -0500)
commitb445c56815d84b9fce40707f99811bdc354458e0
treef8e9e9137a11417f4bfd422245d251d13a8f2177
parent931506d3b2208362efc678ee863ee42a90755e89
[libata] wrap kmap_atomic(KM_IRQ0) with local_irq_save/restore()

Interrupts must be disabled if using kmap_atomic(KM_IRQ0), but that was
not the case in a few code paths coming directly from ATA driver
interrupt handlers (which use spin_lock rather than spin_lock_irqsave).

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c