x86/mm: memblock: switch to use NUMA_NO_NODE
[deliverable/linux.git] / arch / x86 / mm / memtest.c
index 8dabbed409ee69d58e9752be88b5ddaa38a02093..1e9da795767ab95c6688b2b47fada69db0767ebd 100644 (file)
@@ -74,7 +74,7 @@ static void __init do_one_pass(u64 pattern, u64 start, u64 end)
        u64 i;
        phys_addr_t this_start, this_end;
 
-       for_each_free_mem_range(i, MAX_NUMNODES, &this_start, &this_end, NULL) {
+       for_each_free_mem_range(i, NUMA_NO_NODE, &this_start, &this_end, NULL) {
                this_start = clamp_t(phys_addr_t, this_start, start, end);
                this_end = clamp_t(phys_addr_t, this_end, start, end);
                if (this_start < this_end) {
This page took 0.084766 seconds and 5 git commands to generate.