x86: introduce init_memory_mapping for 32bit #1
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 24 Jun 2008 19:18:14 +0000 (12:18 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:10:32 +0000 (13:10 +0200)
commit4e29684c40f2a332ba4d05f6482d5807725d5624
tree297bc3f125ce07a915f7b2cf42c1f32a82453b42
parentc3c2fee38462fa34b90e0a5427c7fc564bb5c96c
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>
arch/x86/kernel/setup_32.c
arch/x86/mm/init_32.c
include/asm-x86/page_32.h