treewide: use PHYS_ADDR_MAX to avoid type casting ULLONG_MAX
[linux-2.6-microblaze.git] / arch / x86 / mm / init_32.c
index c893c6a..979e0a0 100644 (file)
@@ -692,7 +692,7 @@ void __init initmem_init(void)
        high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1;
 #endif
 
-       memblock_set_node(0, (phys_addr_t)ULLONG_MAX, &memblock.memory, 0);
+       memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
        sparse_memory_present_with_active_regions(0);
 
 #ifdef CONFIG_FLATMEM