summaryrefslogtreecommitdiff
path: root/arch/x86/mm/init.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-11-17 07:39:02 +0400
committerH. Peter Anvin <hpa@linux.intel.com>2012-11-17 23:59:24 +0400
commit9985b4c6fa7d660f685918a58282275e9e35d8e0 (patch)
tree5cf8aac4a2500bbb0ada1ba3b4a47fffe6e1e57c /arch/x86/mm/init.c
parent5c51bdbe4c74dce7996d0bbfa39974775cc3f13c (diff)
downloadlinux-9985b4c6fa7d660f685918a58282275e9e35d8e0.tar.xz
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;
unsigned long __meminitdata pgt_buf_end;
unsigned long __meminitdata pgt_buf_top;
+static unsigned long min_pfn_mapped;
+
__ref void *alloc_low_page(void)
{
unsigned long pfn;