diff options
Diffstat (limited to 'arch/x86/mm/memtest.c')
| -rw-r--r-- | arch/x86/mm/memtest.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/memtest.c b/arch/x86/mm/memtest.c index 8dabbed409e..1e9da795767 100644 --- a/arch/x86/mm/memtest.c +++ b/arch/x86/mm/memtest.c @@ -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) {  | 
