Merge branch 'x86/boot' into x86/urgent
[firefly-linux-kernel-4.4.55.git] / arch / arm / mm / init.c
index ae369c1066e6a5a2020a0d2a6f8f820cb3aa6a31..be92fa0f2f35b58cc46004f371c83ad443fe6862 100644 (file)
@@ -286,6 +286,9 @@ void __init bootmem_init(void)
 
        find_limits(&min, &max_low, &max_high);
 
+       early_memtest((phys_addr_t)min << PAGE_SHIFT,
+                     (phys_addr_t)max_low << PAGE_SHIFT);
+
        /*
         * Sparsemem tries to allocate bootmem in memory_present(),
         * so must be done after the fixed reservations