commit | 72d4b0b4e0e7fa858767e03972771a9f7c02b689 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 04 14:38:47 2010 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 04 14:38:47 2010 +1000 |
tree | 5cdf39edb6edbaa7f75da27ad1d9ce7864bb9448 | |
parent | 411a25a80da328f5ae6b6c037872ffe867fcc130 [diff] |
memblock: Implement memblock_is_memory and memblock_is_region_memory To make it fast, we steal ARM's binary search for memblock_is_memory() and we use that to also the replace existing implementation of memblock_is_reserved(). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>