x86, memblock: Add memblock_x86_find_in_range_size()
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:06 +0000 (11:08 -0700)
commitfb74fb6db91abc3c1ceeb9d2c17b44866a12c63e
tree04ded1134ed6cae5572be992bcfd44646ee1875c
parent7950c407c0288b223a200c1bba8198941599ca37
x86, memblock: Add memblock_x86_find_in_range_size()

size is returned according free range.
Will be used to find free ranges for early_memtest and memory corruption check

Do not mess it up with lib/memblock.c yet.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/memblock.h [new file with mode: 0644]
arch/x86/mm/Makefile
arch/x86/mm/memblock.c [new file with mode: 0644]