|
@@ -190,6 +190,8 @@ void __init bootmem_init(void)
|
|
min = PFN_UP(memblock_start_of_DRAM());
|
|
min = PFN_UP(memblock_start_of_DRAM());
|
|
max = PFN_DOWN(memblock_end_of_DRAM());
|
|
max = PFN_DOWN(memblock_end_of_DRAM());
|
|
|
|
|
|
|
|
+ early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Sparsemem tries to allocate bootmem in memory_present(), so must be
|
|
* Sparsemem tries to allocate bootmem in memory_present(), so must be
|
|
* done after the fixed reservations.
|
|
* done after the fixed reservations.
|