diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-24 15:18:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:10:32 -0400 |
commit | 4e29684c40f2a332ba4d05f6482d5807725d5624 (patch) | |
tree | 297bc3f125ce07a915f7b2cf42c1f32a82453b42 /include/asm-x86/page_32.h | |
parent | c3c2fee38462fa34b90e0a5427c7fc564bb5c96c (diff) |
x86: introduce init_memory_mapping for 32bit #1
... so can we use mem below max_low_pfn earlier.
this allows us to move several functions more early instead of waiting
to after paging_init.
That includes moving relocate_initrd() earlier in the bootup, and kva
related early setup done in initmem_init. (in followup patches)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/page_32.h')
-rw-r--r-- | include/asm-x86/page_32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/page_32.h b/include/asm-x86/page_32.h index 3810d14051e8..4ae1daba129b 100644 --- a/include/asm-x86/page_32.h +++ b/include/asm-x86/page_32.h | |||
@@ -93,6 +93,8 @@ extern int sysctl_legacy_va_layout; | |||
93 | #define MAXMEM (-__PAGE_OFFSET - __VMALLOC_RESERVE) | 93 | #define MAXMEM (-__PAGE_OFFSET - __VMALLOC_RESERVE) |
94 | 94 | ||
95 | extern void find_low_pfn_range(void); | 95 | extern void find_low_pfn_range(void); |
96 | extern unsigned long init_memory_mapping(unsigned long start, | ||
97 | unsigned long end); | ||
96 | extern void initmem_init(unsigned long, unsigned long); | 98 | extern void initmem_init(unsigned long, unsigned long); |
97 | extern void zone_sizes_init(void); | 99 | extern void zone_sizes_init(void); |
98 | extern void setup_bootmem_allocator(void); | 100 | extern void setup_bootmem_allocator(void); |