Commit 799d40cc authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Do not set max_mapnr.



There is no need, since nothing relevant to sparc64 makes
use of this value.

Noticed by Sam Ravnborg.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ed56f1a
...@@ -1751,9 +1751,6 @@ void __init paging_init(void) ...@@ -1751,9 +1751,6 @@ void __init paging_init(void)
/* Setup bootmem... */ /* Setup bootmem... */
last_valid_pfn = end_pfn = bootmem_init(phys_base); last_valid_pfn = end_pfn = bootmem_init(phys_base);
#ifndef CONFIG_NEED_MULTIPLE_NODES
max_mapnr = last_valid_pfn;
#endif
/* Once the OF device tree and MDESC have been setup, we know /* Once the OF device tree and MDESC have been setup, we know
* the list of possible cpus. Therefore we can allocate the * the list of possible cpus. Therefore we can allocate the
* IRQ stacks. * IRQ stacks.
......
Supports Markdown
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