projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0b2e5
)
x86, mm: Use max_pfn instead of highend_pfn
author
Pekka Enberg
<penberg@kernel.org>
Tue, 1 Nov 2011 13:58:18 +0000
(15:58 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 11 Nov 2011 09:22:45 +0000
(10:22 +0100)
The 'highend_pfn' variable is always set to 'max_pfn' so just
use the latter directly.
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Link:
http://lkml.kernel.org/r/1320155902-10424-3-git-send-email-penberg@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/init_32.c
b/arch/x86/mm/init_32.c
index 434c97d620c2cc511096b798a7265e7bdc45089c..5ac0118b7610a6b552f4abfa057d692460c976fa 100644
(file)
--- a/
arch/x86/mm/init_32.c
+++ b/
arch/x86/mm/init_32.c
@@
-683,7
+683,7
@@
static void __init zone_sizes_init(void)
#endif
max_zone_pfns[ZONE_NORMAL] = max_low_pfn;
#ifdef CONFIG_HIGHMEM
- max_zone_pfns[ZONE_HIGHMEM] =
highend
_pfn;
+ max_zone_pfns[ZONE_HIGHMEM] =
max
_pfn;
#endif
free_area_init_nodes(max_zone_pfns);