summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/xeon_sp')
-rw-r--r--src/soc/intel/xeon_sp/spr/soc_acpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/xeon_sp/spr/soc_acpi.c b/src/soc/intel/xeon_sp/spr/soc_acpi.c
index 619e5bb423..c609f4fa65 100644
--- a/src/soc/intel/xeon_sp/spr/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/spr/soc_acpi.c
@@ -540,8 +540,7 @@ unsigned long xeonsp_acpi_create_madt_lapics(unsigned long current)
}
if (!cpu->enabled)
continue;
- current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, num_cpus,
- cpu->path.apic.apic_id);
+ current = acpi_create_madt_one_lapic(current, num_cpus, cpu->path.apic.apic_id);
num_cpus++;
}