commit | 9c8c27e2b89b020fd33dd3f2b18405d3f027e6ac | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:06 2011 -0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:06 2011 -0800 |
tree | a537ca38c9b699cb477cc2c093b0c5a9b2286b09 | |
parent | 581adcbe121872429de76ff9884762de71a76200 [diff] |
memblock: Use memblock_reserve() in memblock internal functions Make memblock_double_array(), __memblock_alloc_base() and memblock_alloc_nid() use memblock_reserve() instead of calling memblock_add_region() with reserved array directly. This eases debugging and updates to memblock_add_region(). Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>