diff options
author | Tejun Heo <tj@kernel.org> | 2011-12-08 10:22:06 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-12-08 10:22:06 -0800 |
commit | 9c8c27e2b89b020fd33dd3f2b18405d3f027e6ac (patch) | |
tree | a537ca38c9b699cb477cc2c093b0c5a9b2286b09 /include/linux/memblock.h | |
parent | 581adcbe121872429de76ff9884762de71a76200 (diff) | |
download | linux-stable-9c8c27e2b89b020fd33dd3f2b18405d3f027e6ac.tar.gz linux-stable-9c8c27e2b89b020fd33dd3f2b18405d3f027e6ac.tar.bz2 linux-stable-9c8c27e2b89b020fd33dd3f2b18405d3f027e6ac.zip |
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>
Diffstat (limited to 'include/linux/memblock.h')
0 files changed, 0 insertions, 0 deletions