diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-05 13:55:08 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 14:17:18 +0100 |
commit | 4fcb208391be5cf82c6fe2779c5eb9245ac97e91 (patch) | |
tree | da326e0c21e6d32c9cda6c18a74793e65666b3f0 /arch/x86/mm/init_64.c | |
parent | x86: unify kernel_physical_mapping_init() function signatures (diff) | |
download | linux-4fcb208391be5cf82c6fe2779c5eb9245ac97e91.tar.xz linux-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_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index f441ae316312..7dd7ce49d69b 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -48,6 +48,7 @@ #include <asm/kdebug.h> #include <asm/numa.h> #include <asm/cacheflush.h> +#include <asm/init.h> /* * end_pfn only includes RAM, while max_pfn_mapped includes all e820 entries. @@ -283,10 +284,6 @@ void __init cleanup_highmap(void) } } -extern unsigned long __initdata e820_table_start; -extern unsigned long __meminitdata e820_table_end; -extern unsigned long __meminitdata e820_table_top; - static __ref void *alloc_low_page(unsigned long *phys) { unsigned long pfn = e820_table_end++; |