aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/mm/numa_64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index 43ad3273561..b7d78d7a247 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -624,11 +624,12 @@ void __init initmem_init(unsigned long start_pfn, unsigned long last_pfn,
624 memnodemap[0] = 0; 624 memnodemap[0] = 0;
625 node_set_online(0); 625 node_set_online(0);
626 node_set(0, node_possible_map); 626 node_set(0, node_possible_map);
627 for (i = 0; i < nr_cpu_ids; i++) 627 for (i = 0; i < MAX_LOCAL_APIC; i++)
628 numa_set_node(i, 0); 628 set_apicid_to_node(i, NUMA_NO_NODE);
629 memblock_x86_register_active_regions(0, start_pfn, last_pfn); 629 memblock_x86_register_active_regions(0, start_pfn, last_pfn);
630 init_memory_mapping_high(); 630 init_memory_mapping_high();
631 setup_node_bootmem(0, start_pfn << PAGE_SHIFT, last_pfn << PAGE_SHIFT); 631 setup_node_bootmem(0, start_pfn << PAGE_SHIFT, last_pfn << PAGE_SHIFT);
632 numa_init_array();
632} 633}
633 634
634unsigned long __init numa_free_all_bootmem(void) 635unsigned long __init numa_free_all_bootmem(void)