memblock: Make memblock_find_region() out of memblock_alloc_region()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 12 Jul 2010 03:28:15 +0000 (13:28 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:14 +0000 (12:56 +1000)
commit3a9c2c81eb2024c136cc534df534f93682d516d0
tree376f3e894d82b8944e43cbbff038e379136d57ff
parent449e8df39d3f94a69deae8341f157f6ef5999015
memblock: Make memblock_find_region() out of memblock_alloc_region()

This function will be used to locate a free area to put the new memblock
arrays when attempting to resize them. memblock_alloc_region() is gone,
the two callsites now call memblock_add_region().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
v2. Fix membase_alloc_nid_region() conversion
mm/memblock.c