aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorbibo,mao <bibo.mao@intel.com>2006-12-06 20:14:06 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:06 -0500
commitb5b2405706005cc7765f6ecd00965d29e93f090a (patch)
tree514860ebb7571fa7ee3d5f6eea8462793b992c0c /include/asm-i386
parentb2dff6a88cbed59d787a8ca7367c76ba385e1187 (diff)
[PATCH] i386: Move e820/efi memmap walking code to e820.c
This patch moves e820/efi memmap table walking function from setup.c to e820.c, also this patch adds extern declaration in header file. Signed-off-by: bibo,mao <bibo.mao@intel.com> Signed-off-by: Andi Kleen <ak@suse.de> arch/i386/kernel/e820.c | 115 +++++++++++++++++++++++++++++++++ arch/i386/kernel/setup.c | 118 ----------------------------------- include/asm-i386/e820.h | 2 arch/i386/kernel/e820.c | 115 +++++++++++++++++++++++++++++++++++++++++++++ arch/i386/kernel/setup.c | 118 ----------------------------------------------- include/asm-i386/e820.h | 2 3 files changed, 117 insertions(+), 118 deletions(-)
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/e820.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/e820.h b/include/asm-i386/e820.h
index 147569425152..8da4175a5533 100644
--- a/include/asm-i386/e820.h
+++ b/include/asm-i386/e820.h
@@ -39,6 +39,8 @@ extern struct e820map e820;
39extern int e820_all_mapped(unsigned long start, unsigned long end, 39extern int e820_all_mapped(unsigned long start, unsigned long end,
40 unsigned type); 40 unsigned type);
41extern void find_max_pfn(void); 41extern void find_max_pfn(void);
42extern void register_bootmem_low_pages(unsigned long max_low_pfn);
43extern void register_memory(void);
42 44
43#endif/*!__ASSEMBLY__*/ 45#endif/*!__ASSEMBLY__*/
44 46