mm/memblock: add extra "flags" to memblock to allow selection of memory based on...
[sfrench/cifs-2.6.git] / mm / memtest.c
index 1997d934b13b001f1b1decf9ca898847fe6fb6be..0a1cc133f6d72af96a7e16df6481c821dd907a03 100644 (file)
@@ -74,7 +74,8 @@ static void __init do_one_pass(u64 pattern, phys_addr_t start, phys_addr_t end)
        u64 i;
        phys_addr_t this_start, this_end;
 
-       for_each_free_mem_range(i, NUMA_NO_NODE, &this_start, &this_end, NULL) {
+       for_each_free_mem_range(i, NUMA_NO_NODE, MEMBLOCK_NONE, &this_start,
+                               &this_end, NULL) {
                this_start = clamp(this_start, start, end);
                this_end = clamp(this_end, start, end);
                if (this_start < this_end) {