commit | c0ce8fef55896a2813a3d94e1b2d0e6d7fab6228 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:07 2011 -0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:07 2011 -0800 |
tree | 616396e0b08f0a41eafd7d4a10bd3b2fee5726c8 | |
parent | eb18f1b5bfb99b1d7d2f5d792e6ee5c9b7d89330 [diff] |
memblock: Reimplement memblock_enforce_memory_limit() using __memblock_remove() With recent updates, the basic memblock operations are robust enough that there's no reason for memblock_enfore_memory_limit() to directly manipulate memblock region arrays. Reimplement it using __memblock_remove(). Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>