On Fri, 04 Feb 2005, Andrew Morton wrote:
> It looks like qla2x00_queuecommand()'s use of smp_processor_id() is
> just a heuristic, in which case it should be sufficient to simply
> use _smp_processor_id() to quash the warning.
>
Hmm, this was also reported by another customer on Friday -- hopefully
the attached patch can make it in by 2.6.11...
Hopeully once the dust settles with the transport stuffs, a bulk of
this code can be removed...
Thanks,
AV
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]>
===== drivers/scsi/qla2xxx/qla_os.c 1.53 vs edited =====
--- 1.53/drivers/scsi/qla2xxx/qla_os.c 2004-12-08 22:15:37 -08:00
+++ edited/drivers/scsi/qla2xxx/qla_os.c 2005-02-07 16:03:51 -08:00
@@ -859,7 +859,7 @@
* In all other cases we'll let an irq pick up our IO and submit it
* to the controller to improve affinity.
*/
- if (smp_processor_id() == ha->last_irq_cpu || was_empty)
+ if (_smp_processor_id() == ha->last_irq_cpu || was_empty)
qla2x00_next(ha);
spin_lock_irq(ha->host->host_lock);
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html