projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: use PHYS_ADDR_MAX to avoid type casting ULLONG_MAX
[linux-2.6-microblaze.git]
/
arch
/
x86
/
mm
/
init_32.c
diff --git
a/arch/x86/mm/init_32.c
b/arch/x86/mm/init_32.c
index
c893c6a
..
979e0a0
100644
(file)
--- a/
arch/x86/mm/init_32.c
+++ b/
arch/x86/mm/init_32.c
@@
-692,7
+692,7
@@
void __init initmem_init(void)
high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1;
#endif
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
sparse_memory_present_with_active_regions(0);
#ifdef CONFIG_FLATMEM