|
@@ -119,9 +119,7 @@ void __init paging_init(void)
|
|
sparse_memory_present_with_active_regions(MAX_NUMNODES);
|
|
sparse_memory_present_with_active_regions(MAX_NUMNODES);
|
|
sparse_init();
|
|
sparse_init();
|
|
memset(max_zone_pfns, 0, sizeof(max_zone_pfns));
|
|
memset(max_zone_pfns, 0, sizeof(max_zone_pfns));
|
|
-#ifdef CONFIG_ZONE_DMA
|
|
|
|
max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS);
|
|
max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS);
|
|
-#endif
|
|
|
|
max_zone_pfns[ZONE_NORMAL] = max_low_pfn;
|
|
max_zone_pfns[ZONE_NORMAL] = max_low_pfn;
|
|
free_area_init_nodes(max_zone_pfns);
|
|
free_area_init_nodes(max_zone_pfns);
|
|
fault_init();
|
|
fault_init();
|