|
@@ -279,9 +279,9 @@ int __init acpi_numa_init(void)
|
|
|
/* SRAT: Static Resource Affinity Table */
|
|
|
if (!acpi_table_parse(ACPI_SIG_SRAT, acpi_parse_srat)) {
|
|
|
acpi_table_parse_srat(ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY,
|
|
|
- acpi_parse_x2apic_affinity, NR_CPUS);
|
|
|
+ acpi_parse_x2apic_affinity, nr_cpu_ids);
|
|
|
acpi_table_parse_srat(ACPI_SRAT_TYPE_CPU_AFFINITY,
|
|
|
- acpi_parse_processor_affinity, NR_CPUS);
|
|
|
+ acpi_parse_processor_affinity, nr_cpu_ids);
|
|
|
ret = acpi_table_parse_srat(ACPI_SRAT_TYPE_MEMORY_AFFINITY,
|
|
|
acpi_parse_memory_affinity,
|
|
|
NR_NODE_MEMBLKS);
|