x86: clean up reserve_bootmem_generic() and port it to 32-bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 13 Jun 2008 09:00:56 +0000 (02:00 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 08:36:17 +0000 (10:36 +0200)
commitd2dbf343329dc777d77488743465f7be4245971d
tree6c52b30af5ed0d22edcd6f7c514ee922dc30ff84
parentb1f006b65c12b85df81f12c1073ad18fd26f4a16
x86: clean up reserve_bootmem_generic() and port it to 32-bit

1. add reserve_bootmem_generic for 32bit
2. change len to unsigned long
3. make early_res_to_bootmem to use it

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c
arch/x86/kernel/mpparse.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
include/asm-x86/proto.h
include/linux/bootmem.h