qla2x00t-32gbit: Suppress complaints about using smp_processor_id()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8835 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-03-09 02:18:12 +00:00
parent cd68a96ef9
commit 1199f4247f
3 changed files with 4 additions and 4 deletions

View File

@@ -8993,7 +8993,7 @@ struct qla_qpair *qla2xxx_create_qpair(struct scsi_qla_host *vha, int qos,
qpair->rsp->req = qpair->req;
qpair->rsp->qpair = qpair;
/* init qpair to this cpu. Will adjust at run time. */
qla_cpu_update(qpair, smp_processor_id());
qla_cpu_update(qpair, raw_smp_processor_id());
if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) {
if (ha->fw_attributes & BIT_4)

View File

@@ -3241,8 +3241,8 @@ void qla24xx_process_response_queue(struct scsi_qla_host *vha,
if (!ha->flags.fw_started)
return;
if (rsp->qpair->cpuid != smp_processor_id())
qla_cpu_update(rsp->qpair, smp_processor_id());
if (rsp->qpair->cpuid != raw_smp_processor_id())
qla_cpu_update(rsp->qpair, raw_smp_processor_id());
while (rsp->ring_ptr->signature != RESPONSE_PROCESSED) {
pkt = (struct sts_entry_24xx *)rsp->ring_ptr;

View File

@@ -4424,7 +4424,7 @@ static int qlt_handle_cmd_for_atio(struct scsi_qla_host *vha,
#endif
} else if (ha->msix_count) {
if (cmd->atio.u.isp24.fcp_cmnd.rddata)
queue_work_on(smp_processor_id(), qla_tgt_wq,
queue_work_on(raw_smp_processor_id(), qla_tgt_wq,
&cmd->work);
else
#if HAVE_SE_CMD_CPUID