[PATCH] x86: bootmap size fix for 32 bit Jeremy Fitzhardinge found x86: extend e820 ealy_res support 32bit cause regression... in setup_bootmem_allocator Signed-off-by: Yinghai Lu Index: linux-2.6/arch/x86/kernel/setup_32.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/setup_32.c +++ linux-2.6/arch/x86/kernel/setup_32.c @@ -577,6 +577,8 @@ void __init setup_bootmem_allocator(void if (bootmap == -1L) panic("Cannot find bootmem map of size %ld\n", bootmap_size); bootmap_size = init_bootmem(bootmap >> PAGE_SHIFT, max_low_pfn); + printk(KERN_INFO " bootmap [%016lx - %016lx] min_low_pfn: %016x\n", + bootmap, bootmap + bootmap_size - 1, min_low_pfn); register_bootmem_low_pages(max_low_pfn); early_res_to_bootmem(0, max_low_pfn<