]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, memblock: Add memblock_x86_register_active_regions() and memblock_x86_hole_size()
authorYinghai Lu <yinghai@kernel.org>
Wed, 25 Aug 2010 20:39:16 +0000 (13:39 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 27 Aug 2010 18:10:52 +0000 (11:10 -0700)
commit88ba088c18457caaf8d2e5f8d36becc731a3d4f6
tree1b82b841333bf664b6f49a9d8bb15e44d4670ce4
parent4d5cf86ce187c0d3a4cdf233ab0cc6526ccbe01f
x86, memblock: Add memblock_x86_register_active_regions() and memblock_x86_hole_size()

memblock_x86_register_active_regions() will be used to fill early_node_map,
the result will be memblock.memory.region AND numa data

memblock_x86_hole_size will be used to find hole size on memblock.memory.region
with specified range.

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