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>
Showing
- arch/x86/kernel/e820_32.c 2 additions, 3 deletionsarch/x86/kernel/e820_32.c
- arch/x86/kernel/setup_32.c 2 additions, 2 deletionsarch/x86/kernel/setup_32.c
- arch/x86/mm/discontig_32.c 1 addition, 1 deletionarch/x86/mm/discontig_32.c
- include/asm-x86/e820_32.h 1 addition, 1 deletioninclude/asm-x86/e820_32.h
Please register or sign in to comment