diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-11-16 19:39:07 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-11-17 11:59:36 -0800 |
commit | cf47065961b48727b4e47bc3e2e67f4996878437 (patch) | |
tree | c8bf9664368172d33ae0263ad4f04e79f320ab17 /arch | |
parent | 719272c45b821d38608fc333700bde1a89c56c59 (diff) | |
download | op-kernel-dev-cf47065961b48727b4e47bc3e2e67f4996878437.zip op-kernel-dev-cf47065961b48727b4e47bc3e2e67f4996878437.tar.gz |
x86, mm: Move back pgt_buf_* to mm/init.c
Also change them to static.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-31-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/init.h | 4 | ||||
-rw-r--r-- | arch/x86/mm/init.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/arch/x86/include/asm/init.h b/arch/x86/include/asm/init.h index 4f13998..626ea8d 100644 --- a/arch/x86/include/asm/init.h +++ b/arch/x86/include/asm/init.h @@ -12,8 +12,4 @@ kernel_physical_mapping_init(unsigned long start, unsigned long end, unsigned long page_size_mask); -extern unsigned long __initdata pgt_buf_start; -extern unsigned long __meminitdata pgt_buf_end; -extern unsigned long __meminitdata pgt_buf_top; - #endif /* _ASM_X86_INIT_32_H */ diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index bed4888..3cadf10 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -19,9 +19,9 @@ #include "mm_internal.h" -unsigned long __initdata pgt_buf_start; -unsigned long __meminitdata pgt_buf_end; -unsigned long __meminitdata pgt_buf_top; +static unsigned long __initdata pgt_buf_start; +static unsigned long __initdata pgt_buf_end; +static unsigned long __initdata pgt_buf_top; static unsigned long min_pfn_mapped; |