diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-27 13:55:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-27 13:55:08 -0400 |
commit | 799d40cc108b45d74325c10841114fc6449631b7 (patch) | |
tree | 2a294e1f0dd2e67e5f2fe0772a0aff38e042ea7f /arch/sparc/mm | |
parent | 5ed56f1ad95bcbe3e22079395eb4100c034e559a (diff) |
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 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/init_64.c | 3 |
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) | |||
1751 | /* Setup bootmem... */ | 1751 | /* Setup bootmem... */ |
1752 | last_valid_pfn = end_pfn = bootmem_init(phys_base); | 1752 | last_valid_pfn = end_pfn = bootmem_init(phys_base); |
1753 | 1753 | ||
1754 | #ifndef CONFIG_NEED_MULTIPLE_NODES | ||
1755 | max_mapnr = last_valid_pfn; | ||
1756 | #endif | ||
1757 | /* Once the OF device tree and MDESC have been setup, we know | 1754 | /* Once the OF device tree and MDESC have been setup, we know |
1758 | * the list of possible cpus. Therefore we can allocate the | 1755 | * the list of possible cpus. Therefore we can allocate the |
1759 | * IRQ stacks. | 1756 | * IRQ stacks. |