|
@@ -91,7 +91,7 @@ void __init setup_bios_corruption_check(void)
|
|
|
|
|
|
|
|
corruption_check_size = round_up(corruption_check_size, PAGE_SIZE);
|
|
corruption_check_size = round_up(corruption_check_size, PAGE_SIZE);
|
|
|
|
|
|
|
|
- for_each_free_mem_range(i, MAX_NUMNODES, &start, &end, NULL) {
|
|
|
|
|
|
|
+ for_each_free_mem_range(i, NUMA_NO_NODE, &start, &end, NULL) {
|
|
|
start = clamp_t(phys_addr_t, round_up(start, PAGE_SIZE),
|
|
start = clamp_t(phys_addr_t, round_up(start, PAGE_SIZE),
|
|
|
PAGE_SIZE, corruption_check_size);
|
|
PAGE_SIZE, corruption_check_size);
|
|
|
end = clamp_t(phys_addr_t, round_down(end, PAGE_SIZE),
|
|
end = clamp_t(phys_addr_t, round_down(end, PAGE_SIZE),
|