Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2015-01-16 14:53:36 +0100
committerJiri Kosina <jkosina@suse.cz>2015-01-16 14:53:36 +0100
commitfb133dba83b9b14690228c617b3a33fe737540ef (patch)
tree6d46e189cc770e2fa8b978ecb218d64f615b18a9
parentc6466cc6773b9ec9ea0fc7f46736a1e109476f4e (diff)
patches.drivers/lpfc-8.3.39-Fixed-driver-vector-mapping-to-CPU-xen-buildfix.patch: fix build suse-commit: 0dfd22dbe5f4f7f978c13297abf8ac8d69e0162a
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index bbf1da3066af..4f2e7af117d2 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -8561,6 +8561,7 @@ lpfc_sli4_set_affinity(struct lpfc_hba *phba, int vectors)
cpup = phba->sli4_hba.cpu_map;
for (cpu = 0; cpu < phba->sli4_hba.num_present_cpu; cpu++) {
#if defined(CONFIG_X86) && !defined(CONFIG_XEN)
+ const struct cpuinfo_x86 *cpuinfo = &cpu_data(cpu);
cpuinfo = &cpu_data(cpu);
cpup->phys_id = cpuinfo->phys_proc_id;
cpup->core_id = cpuinfo->cpu_core_id;