summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c b/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
index 0197def7a7..3c8d2e8afc 100644
--- a/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
+++ b/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
@@ -36,7 +36,7 @@ unsigned long acpi_fill_madt(unsigned long current)
current = acpi_madt_irq_overrides(current);
- for (i = 0; i < 16; i++)
+ for (i = 0; i < CONFIG_MAX_CPUS; i++)
current += acpi_create_madt_lapic_nmi((acpi_madt_lapic_nmi_t *)current, i, 0xD, 1);
return current;