]> err.no Git - linux-2.6/commit
x86, 32-bit: change propagate_e820_map() back to find_max_pfn()
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 1 Jun 2008 05:52:47 +0000 (22:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 11:26:25 +0000 (13:26 +0200)
commit0596152388e234efebce464355186ad9e16c8cb6
tree9e04e9630bdffdbfba07d43d1e7e08edf24045ca
parentb66cd7207387b9b428aaf1988e21dd263c6a4928
x86, 32-bit: change propagate_e820_map() back to find_max_pfn()

we don't need to call memory_present that early.
numa and sparse will call memory_present later and might
even fail, it will call memory_present for the full range.

also for sparse it will call alloc_bootmem ... before we set up bootmem.

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