Merge tag 'v4.2-rc8' into x86/mm, before applying new changes
[linux-drm-fsl-dcu.git] / arch / x86 / kernel / check.c
index f40cfd12ba66d750443e480dab1baa7c4be5e1ef..145863d4d343c4138c167228550e4a0a6a9363a4 100644 (file)
@@ -91,7 +91,8 @@ void __init setup_bios_corruption_check(void)
 
        corruption_check_size = round_up(corruption_check_size, PAGE_SIZE);
 
-       for_each_free_mem_range(i, NUMA_NO_NODE, &start, &end, NULL) {
+       for_each_free_mem_range(i, NUMA_NO_NODE, MEMBLOCK_NONE, &start, &end,
+                               NULL) {
                start = clamp_t(phys_addr_t, round_up(start, PAGE_SIZE),
                                PAGE_SIZE, corruption_check_size);
                end = clamp_t(phys_addr_t, round_down(end, PAGE_SIZE),