x86, memblock: Remove __memblock_x86_find_in_range_size()
authorYinghai Lu <yinghai@kernel.org>
Mon, 4 Oct 2010 21:58:04 +0000 (14:58 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 6 Oct 2010 04:45:43 +0000 (21:45 -0700)
commit16c36f743bf8481d0ba40a6de0af11736095d7cf
treed9b319ab02e97c122aae512143ffc23b3bdb5375
parentf1af98c7629a1b76fd7336decbc776acdeed2120
x86, memblock: Remove __memblock_x86_find_in_range_size()

Fold it into memblock_x86_find_in_range(), and change bad_addr_size()
to check_reserve_memblock().

So whole memblock_x86_find_in_range_size() code is more readable.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4CAA4DEC.4000401@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/memblock.c