aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/mm/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c
index ae85da6307bb..597831bdddf3 100644
--- a/arch/arm64/mm/init.c
+++ b/arch/arm64/mm/init.c
@@ -190,6 +190,8 @@ void __init bootmem_init(void)
190 min = PFN_UP(memblock_start_of_DRAM()); 190 min = PFN_UP(memblock_start_of_DRAM());
191 max = PFN_DOWN(memblock_end_of_DRAM()); 191 max = PFN_DOWN(memblock_end_of_DRAM());
192 192
193 early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT);
194
193 /* 195 /*
194 * Sparsemem tries to allocate bootmem in memory_present(), so must be 196 * Sparsemem tries to allocate bootmem in memory_present(), so must be
195 * done after the fixed reservations. 197 * done after the fixed reservations.