aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/init_64.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-04-27 10:55:08 -0700
committerDavid S. Miller <davem@davemloft.net>2012-04-27 10:55:08 -0700
commit799d40cc108b45d74325c10841114fc6449631b7 (patch)
tree2a294e1f0dd2e67e5f2fe0772a0aff38e042ea7f /arch/sparc/mm/init_64.c
parentsparc64: Use node local allocations for IRQ stacks. (diff)
downloadlinux-dev-799d40cc108b45d74325c10841114fc6449631b7.tar.xz
linux-dev-799d40cc108b45d74325c10841114fc6449631b7.zip
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--arch/sparc/mm/init_64.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index def92239a363..067a67773eb3 100644
--- a/arch/sparc/mm/init_64.c
+++ b/arch/sparc/mm/init_64.c
@@ -1751,9 +1751,6 @@ void __init paging_init(void)
/* Setup bootmem... */
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
* the list of possible cpus. Therefore we can allocate the
* IRQ stacks.