]> git.hungrycats.org Git - linux/commitdiff
qla2xxx: fix BUG's for smp_processor_id() on interrupt
authorJames Bottomley <jejb@mulgrave.(none)>
Thu, 10 Feb 2005 04:30:32 +0000 (23:30 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 10 Feb 2005 04:30:32 +0000 (23:30 -0500)
From: Andrew Vasquez <andrew.vasquez@qlogic.com>

replace them with _smp_processor_id()

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_isr.c

index 0b9a81072a436286e855aefcc42d8299bd314c0b..603d4c683c6ce337c175903fcea2c4d479e148d9 100644 (file)
@@ -94,7 +94,7 @@ qla2100_intr_handler(int irq, void *dev_id, struct pt_regs *regs)
        spin_unlock_irqrestore(&ha->hardware_lock, flags);
 
        qla2x00_next(ha);
-       ha->last_irq_cpu = smp_processor_id();
+       ha->last_irq_cpu = _smp_processor_id();
        ha->total_isr_cnt++;
 
        if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) &&
@@ -207,7 +207,7 @@ qla2300_intr_handler(int irq, void *dev_id, struct pt_regs *regs)
        spin_unlock_irqrestore(&ha->hardware_lock, flags);
 
        qla2x00_next(ha);
-       ha->last_irq_cpu = smp_processor_id();
+       ha->last_irq_cpu = _smp_processor_id();
        ha->total_isr_cnt++;
 
        if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) &&