diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-05 07:55:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 08:17:18 -0500 |
commit | 4fcb208391be5cf82c6fe2779c5eb9245ac97e91 (patch) | |
tree | da326e0c21e6d32c9cda6c18a74793e65666b3f0 /arch/x86/mm/init_32.c | |
parent | e53fb04fce6d246ebed755b904ed1b0b814a754c (diff) |
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_32.c')
-rw-r--r-- | arch/x86/mm/init_32.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 5ca9c6c3439e..1669693e97de 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -49,6 +49,7 @@ | |||
49 | #include <asm/paravirt.h> | 49 | #include <asm/paravirt.h> |
50 | #include <asm/setup.h> | 50 | #include <asm/setup.h> |
51 | #include <asm/cacheflush.h> | 51 | #include <asm/cacheflush.h> |
52 | #include <asm/init.h> | ||
52 | 53 | ||
53 | unsigned long max_low_pfn_mapped; | 54 | unsigned long max_low_pfn_mapped; |
54 | unsigned long max_pfn_mapped; | 55 | unsigned long max_pfn_mapped; |
@@ -58,11 +59,6 @@ unsigned long highstart_pfn, highend_pfn; | |||
58 | 59 | ||
59 | static noinline int do_test_wp_bit(void); | 60 | static noinline int do_test_wp_bit(void); |
60 | 61 | ||
61 | |||
62 | extern unsigned long __initdata e820_table_start; | ||
63 | extern unsigned long __meminitdata e820_table_end; | ||
64 | extern unsigned long __meminitdata e820_table_top; | ||
65 | |||
66 | static __init void *alloc_low_page(void) | 62 | static __init void *alloc_low_page(void) |
67 | { | 63 | { |
68 | unsigned long pfn = e820_table_end++; | 64 | unsigned long pfn = e820_table_end++; |