]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: clean up max_pfn_mapped usage - 32-bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 2 Jun 2008 06:53:50 +0000 (23:53 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 11:26:28 +0000 (13:26 +0200)
commit6af61a7614a306fe882a0c2b4ddc63b65aa66efc
treea4027323b741d9784b5f3755fe7a276c536932ee
parent287572cb38de7f270b59191a0fecfa5c5de7765d
x86: clean up max_pfn_mapped usage - 32-bit

on 32-bit in head_32.S after initial page table is done, we get initial
max_pfn_mapped, and then kernel_physical_mapping_init will give us
a final one.

We need to use that to make sure find_e820_area will get valid addresses
for boot_map and for NODE_DATA(0) on numa32.

XEN PV and lguest may need to assign max_pfn_mapped too.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_32.S
arch/x86/kernel/setup_32.c
arch/x86/mm/discontig_32.c