Commit 0164fe16 authored by Mike Travis's avatar Mike Travis Committed by Ingo Molnar

x86: fix early NUMA-id access

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 834beda1
...@@ -382,7 +382,8 @@ int __init acpi_scan_nodes(unsigned long start, unsigned long end) ...@@ -382,7 +382,8 @@ int __init acpi_scan_nodes(unsigned long start, unsigned long end)
setup_node_bootmem(i, nodes[i].start, nodes[i].end); setup_node_bootmem(i, nodes[i].start, nodes[i].end);
for (i = 0; i < NR_CPUS; i++) { for (i = 0; i < NR_CPUS; i++) {
int node = cpu_to_node(i); int node = early_cpu_to_node(i);
if (node == NUMA_NO_NODE) if (node == NUMA_NO_NODE)
continue; continue;
if (!node_isset(node, node_possible_map)) if (!node_isset(node, node_possible_map))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment