diff options
author | bibo,mao <bibo.mao@intel.com> | 2006-12-07 02:14:06 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:06 +0100 |
commit | b5b2405706005cc7765f6ecd00965d29e93f090a (patch) | |
tree | 514860ebb7571fa7ee3d5f6eea8462793b992c0c /include/asm-i386 | |
parent | b2dff6a88cbed59d787a8ca7367c76ba385e1187 (diff) | |
download | op-kernel-dev-b5b2405706005cc7765f6ecd00965d29e93f090a.zip op-kernel-dev-b5b2405706005cc7765f6ecd00965d29e93f090a.tar.gz |
[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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/e820.h b/include/asm-i386/e820.h index 1475694..8da4175 100644 --- a/include/asm-i386/e820.h +++ b/include/asm-i386/e820.h @@ -39,6 +39,8 @@ extern struct e820map e820; extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); extern void find_max_pfn(void); +extern void register_bootmem_low_pages(unsigned long max_low_pfn); +extern void register_memory(void); #endif/*!__ASSEMBLY__*/ |