Commit 5bd1069b authored by David S. Miller's avatar David S. Miller

arch/sparc64/mm/init.c: Initialize {min,max}_low_pfn and max_pfn properly.

parent cc957886
......@@ -1366,6 +1366,8 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
}
#endif
/* Initialize the boot-time allocator. */
max_pfn = max_low_pfn = end_pfn;
min_low_pfn = pfn_base;
bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap_pfn, pfn_base, end_pfn);
/* Now register the available physical memory with the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment