diff options
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 5d9a64a7879b..0793aa9f161f 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -1639,12 +1639,12 @@ qla24xx_msix_rsp_q(int irq, void *dev_id) | |||
1639 | ha = dev_id; | 1639 | ha = dev_id; |
1640 | reg = &ha->iobase->isp24; | 1640 | reg = &ha->iobase->isp24; |
1641 | 1641 | ||
1642 | spin_lock(&ha->hardware_lock); | 1642 | spin_lock_irq(&ha->hardware_lock); |
1643 | 1643 | ||
1644 | qla24xx_process_response_queue(ha); | 1644 | qla24xx_process_response_queue(ha); |
1645 | WRT_REG_DWORD(®->hccr, HCCRX_CLR_RISC_INT); | 1645 | WRT_REG_DWORD(®->hccr, HCCRX_CLR_RISC_INT); |
1646 | 1646 | ||
1647 | spin_unlock(&ha->hardware_lock); | 1647 | spin_unlock_irq(&ha->hardware_lock); |
1648 | 1648 | ||
1649 | return IRQ_HANDLED; | 1649 | return IRQ_HANDLED; |
1650 | } | 1650 | } |
@@ -1663,7 +1663,7 @@ qla24xx_msix_default(int irq, void *dev_id) | |||
1663 | reg = &ha->iobase->isp24; | 1663 | reg = &ha->iobase->isp24; |
1664 | status = 0; | 1664 | status = 0; |
1665 | 1665 | ||
1666 | spin_lock(&ha->hardware_lock); | 1666 | spin_lock_irq(&ha->hardware_lock); |
1667 | do { | 1667 | do { |
1668 | stat = RD_REG_DWORD(®->host_status); | 1668 | stat = RD_REG_DWORD(®->host_status); |
1669 | if (stat & HSRX_RISC_PAUSED) { | 1669 | if (stat & HSRX_RISC_PAUSED) { |
@@ -1716,7 +1716,7 @@ qla24xx_msix_default(int irq, void *dev_id) | |||
1716 | } | 1716 | } |
1717 | WRT_REG_DWORD(®->hccr, HCCRX_CLR_RISC_INT); | 1717 | WRT_REG_DWORD(®->hccr, HCCRX_CLR_RISC_INT); |
1718 | } while (0); | 1718 | } while (0); |
1719 | spin_unlock(&ha->hardware_lock); | 1719 | spin_unlock_irq(&ha->hardware_lock); |
1720 | 1720 | ||
1721 | if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && | 1721 | if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && |
1722 | (status & MBX_INTERRUPT) && ha->flags.mbox_int) { | 1722 | (status & MBX_INTERRUPT) && ha->flags.mbox_int) { |