x86, memblock: Add memblock_x86_to_bootmem()
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:21 +0000 (11:08 -0700)
commit27de794365786b4cdc3461ed4e23af2a33f40612
tree7aa2ab1a7f21ed2f91647f8a73ed2e0ebf45048f
parentf88eff74aa848e58b1ea49768c0bbb874b31357f
x86, memblock: Add memblock_x86_to_bootmem()

memblock_x86_to_bootmem() will reserve memblock.reserved.region in
bootmem after bootmem is set up.

We can use it to with all arches that support memblock later.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/memblock.h
arch/x86/mm/memblock.c