diff options
author | Tejun Heo <tj@kernel.org> | 2011-12-08 10:22:07 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-12-08 10:22:07 -0800 |
commit | eb18f1b5bfb99b1d7d2f5d792e6ee5c9b7d89330 (patch) | |
tree | 6f2a6865b929358c1c46a61f7f3ac5563cc03f02 /lib | |
parent | 719361809fde9dbe9ccc4cf71f9fa9add5fa8bf9 (diff) | |
download | linux-eb18f1b5bfb99b1d7d2f5d792e6ee5c9b7d89330.tar.bz2 |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions