aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-11-16 22:39:02 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2012-11-17 14:59:24 -0500
commit9985b4c6fa7d660f685918a58282275e9e35d8e0 (patch)
tree5cf8aac4a2500bbb0ada1ba3b4a47fffe6e1e57c /arch/x86/mm/init.c
parent5c51bdbe4c74dce7996d0bbfa39974775cc3f13c (diff)
x86, mm: Move min_pfn_mapped back to mm/init.c
Also change it to static. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1353123563-3103-26-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/init.c')
-rw-r--r--arch/x86/mm/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index 848189229b2d..6392bf9a3947 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -23,6 +23,8 @@ unsigned long __initdata pgt_buf_start;
23unsigned long __meminitdata pgt_buf_end; 23unsigned long __meminitdata pgt_buf_end;
24unsigned long __meminitdata pgt_buf_top; 24unsigned long __meminitdata pgt_buf_top;
25 25
26static unsigned long min_pfn_mapped;
27
26__ref void *alloc_low_page(void) 28__ref void *alloc_low_page(void)
27{ 29{
28 unsigned long pfn; 30 unsigned long pfn;