commit | eb18f1b5bfb99b1d7d2f5d792e6ee5c9b7d89330 | [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 | 6f2a6865b929358c1c46a61f7f3ac5563cc03f02 | |
parent | 719361809fde9dbe9ccc4cf71f9fa9add5fa8bf9 [diff] |
memblock: Make memblock functions handle overflowing range @size Allow memblock users to specify range where @base + @size overflows and automatically cap it at maximum. This makes the interface more robust and specifying till-the-end-of-memory easier. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>