memblock: Add memblock_find_in_range()
authorYinghai Lu <yinghai@kernel.org>
Wed, 28 Jul 2010 05:38:40 +0000 (15:38 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:34 +0000 (12:56 +1000)
commit5303b68f57c227c27193a14e57dd12be27cd670f
treea7a217f9e3385b2f721cc2ec7ef3413577264e08
parent10d0643988e976360eb3497dcafb55b393b8e480
memblock: Add memblock_find_in_range()

This is a wrapper for memblock_find_base() using slightly different
arguments (start,end instead of start,size for example) in order to
make it easier to convert existing arch/x86 code.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/linux/memblock.h
mm/memblock.c