projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed56f1
)
sparc64: Do not set max_mapnr.
author
David S. Miller
<davem@davemloft.net>
Fri, 27 Apr 2012 17:55:08 +0000
(10:55 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Apr 2012 17:55:08 +0000
(10:55 -0700)
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>
arch/sparc/mm/init_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/mm/init_64.c
b/arch/sparc/mm/init_64.c
index def92239a363865f3608d26eca39e33efb0a3f70..067a67773eb315568e138a7a257619c3efb1fecd 100644
(file)
--- 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.