bootmem, x86: Add weak version of reserve_bootmem_generic
authorYinghai Lu <yinghai@kernel.org>
Wed, 25 Aug 2010 20:39:15 +0000 (13:39 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 27 Aug 2010 18:08:13 +0000 (11:08 -0700)
commitf88eff74aa848e58b1ea49768c0bbb874b31357f
treea8fdf012b22f0cc3ea5eed6bbf5c5746db9a6a5a
parentfb74fb6db91abc3c1ceeb9d2c17b44866a12c63e
bootmem, x86: Add weak version of reserve_bootmem_generic

It will be used memblock_x86_to_bootmem converting

It is an wrapper for reserve_bootmem, and x86 64bit is using special one.

Also clean up that version for x86_64. We don't need to take care of numa
path for that, bootmem can handle it how

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
mm/bootmem.c