diff options
-rw-r--r-- | arch/arm64/mm/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 672094ed7e07..285745b2ca38 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c | |||
@@ -366,6 +366,9 @@ void __init arm64_memblock_init(void) | |||
366 | /* Handle linux,usable-memory-range property */ | 366 | /* Handle linux,usable-memory-range property */ |
367 | fdt_enforce_memory_region(); | 367 | fdt_enforce_memory_region(); |
368 | 368 | ||
369 | /* Remove memory above our supported physical address size */ | ||
370 | memblock_remove(1ULL << PHYS_MASK_SHIFT, ULLONG_MAX); | ||
371 | |||
369 | /* | 372 | /* |
370 | * Ensure that the linear region takes up exactly half of the kernel | 373 | * Ensure that the linear region takes up exactly half of the kernel |
371 | * virtual address space. This way, we can distinguish a linear address | 374 | * virtual address space. This way, we can distinguish a linear address |