diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-11-17 04:39:02 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-11-17 20:59:24 +0100 |
commit | 9985b4c6fa7d660f685918a58282275e9e35d8e0 (patch) | |
tree | 5cf8aac4a2500bbb0ada1ba3b4a47fffe6e1e57c /arch/x86/mm/init.c | |
parent | x86, mm: Merge alloc_low_page between 64bit and 32bit (diff) | |
download | linux-9985b4c6fa7d660f685918a58282275e9e35d8e0.tar.xz linux-9985b4c6fa7d660f685918a58282275e9e35d8e0.zip |
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.c | 2 |
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; |