|
@@ -476,6 +476,8 @@ void __init arm64_memblock_init(void)
|
|
|
|
|
|
reserve_elfcorehdr();
|
|
reserve_elfcorehdr();
|
|
|
|
|
|
|
|
+ high_memory = __va(memblock_end_of_DRAM() - 1) + 1;
|
|
|
|
+
|
|
dma_contiguous_reserve(arm64_dma_phys_limit);
|
|
dma_contiguous_reserve(arm64_dma_phys_limit);
|
|
|
|
|
|
memblock_allow_resize();
|
|
memblock_allow_resize();
|
|
@@ -502,7 +504,6 @@ void __init bootmem_init(void)
|
|
sparse_init();
|
|
sparse_init();
|
|
zone_sizes_init(min, max);
|
|
zone_sizes_init(min, max);
|
|
|
|
|
|
- high_memory = __va((max << PAGE_SHIFT) - 1) + 1;
|
|
|
|
memblock_dump_all();
|
|
memblock_dump_all();
|
|
}
|
|
}
|
|
|
|
|