summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86/mm/init_64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index be7e12791787..52bb9519bb86 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -596,11 +596,7 @@ void __init paging_init(void)
max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN;
max_zone_pfns[ZONE_NORMAL] = max_pfn;
-#ifdef CONFIG_NUMA
sparse_memory_present_with_active_regions(MAX_NUMNODES);
-#else
- memory_present(0, 0, max_pfn);
-#endif
sparse_init();
free_area_init_nodes(max_zone_pfns);
}