summaryrefslogtreecommitdiff
path: root/arch/x86/mm/init.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-03-05 14:55:08 +0200
committerIngo Molnar <mingo@elte.hu>2009-03-05 14:17:18 +0100
commit4fcb208391be5cf82c6fe2779c5eb9245ac97e91 (patch)
treeda326e0c21e6d32c9cda6c18a74793e65666b3f0 /arch/x86/mm/init.c
parente53fb04fce6d246ebed755b904ed1b0b814a754c (diff)
downloadlwn-4fcb208391be5cf82c6fe2779c5eb9245ac97e91.tar.gz
lwn-4fcb208391be5cf82c6fe2779c5eb9245ac97e91.zip
x86: move function and variable declarations to asm/init.h
Impact: cleanup Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <1236257708-27269-17-git-send-email-penberg@cs.helsinki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init.c')
-rw-r--r--arch/x86/mm/init.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index 6475693a81ab..6d63e3d1253d 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -3,21 +3,13 @@
#include <asm/cacheflush.h>
#include <asm/e820.h>
+#include <asm/init.h>
#include <asm/page.h>
#include <asm/page_types.h>
#include <asm/sections.h>
#include <asm/system.h>
#include <asm/tlbflush.h>
-#ifdef CONFIG_X86_32
-extern void __init early_ioremap_page_table_range_init(void);
-#endif
-
-extern unsigned long __init
-kernel_physical_mapping_init(unsigned long start,
- unsigned long end,
- unsigned long page_size_mask);
-
unsigned long __initdata e820_table_start;
unsigned long __meminitdata e820_table_end;
unsigned long __meminitdata e820_table_top;