diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d2588d6226e02..298c7691fb1d0 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7821,7 +7821,7 @@ static void __init find_zone_movable_pfns_for_nodes(void) usable_startpfn = memblock_region_memory_base_pfn(r); - if (usable_startpfn < 0x100000) { + if (usable_startpfn < PHYS_PFN(SZ_4G)) { mem_below_4gb_not_mirrored = true; continue; }