diff options
author | Mike Travis <travis@sgi.com> | 2008-01-30 07:33:21 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:21 -0500 |
commit | 0164fe16247ac2e1b697a9bf0e71df81497c4709 (patch) | |
tree | 3e7b9a234051c83658ef1383d99b34ef55d16640 /arch | |
parent | 834beda15ecc43c110c0a6ac39ec1aa79f891716 (diff) |
x86: fix early NUMA-id access
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/srat_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat_64.c index 04cbecaeca81..f828e6a6973d 100644 --- a/arch/x86/mm/srat_64.c +++ b/arch/x86/mm/srat_64.c | |||
@@ -382,7 +382,8 @@ int __init acpi_scan_nodes(unsigned long start, unsigned long end) | |||
382 | setup_node_bootmem(i, nodes[i].start, nodes[i].end); | 382 | setup_node_bootmem(i, nodes[i].start, nodes[i].end); |
383 | 383 | ||
384 | for (i = 0; i < NR_CPUS; i++) { | 384 | for (i = 0; i < NR_CPUS; i++) { |
385 | int node = cpu_to_node(i); | 385 | int node = early_cpu_to_node(i); |
386 | |||
386 | if (node == NUMA_NO_NODE) | 387 | if (node == NUMA_NO_NODE) |
387 | continue; | 388 | continue; |
388 | if (!node_isset(node, node_possible_map)) | 389 | if (!node_isset(node, node_possible_map)) |