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
commitcef518e88b8ed94ea483c436ef5e5b151a3fabc6 (patch)
treed920944b9d1f9f0c885bce457f12afb92e220245 /include/asm-i386
parentb5b2405706005cc7765f6ecd00965d29e93f090a (diff)
[PATCH] i386: Move memory map printing and other code to e820.c
This patch moves e820 memory map print and memmap boot param parsing function from setup.c to e820.c, also adds limit_regions and print_memory_map 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 | 152 +++++++++++++++++++++++++++ arch/i386/kernel/setup.c | 158 --------------------------------- include/asm-i386/e820.h | 2 arch/i386/kernel/e820.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++ arch/i386/kernel/setup.c | 153 ----------------------------------------------- include/asm-i386/e820.h | 2 3 files changed, 155 insertions(+), 152 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 8da4175a5533..395077aba583 100644
--- a/include/asm-i386/e820.h
+++ b/include/asm-i386/e820.h
@@ -41,6 +41,8 @@ extern int e820_all_mapped(unsigned long start, unsigned long end,
41extern void find_max_pfn(void); 41extern void find_max_pfn(void);
42extern void register_bootmem_low_pages(unsigned long max_low_pfn); 42extern void register_bootmem_low_pages(unsigned long max_low_pfn);
43extern void register_memory(void); 43extern void register_memory(void);
44extern void limit_regions(unsigned long long size);
45extern void print_memory_map(char *who);
44 46
45#endif/*!__ASSEMBLY__*/ 47#endif/*!__ASSEMBLY__*/
46 48