| commit | 5e6f6aa1c243fafeb2648cf4ebd5abd99ab2531b | [log] [tgz] |
|---|---|---|
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 04 13:23:02 2010 +1000 |
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 04 14:38:55 2010 +1000 |
| tree | 6ebf6e67122fe8d859e8e59b3ce1c08a71ebf678 | |
| parent | 72d4b0b4e0e7fa858767e03972771a9f7c02b689 [diff] |
memblock/arm: pfn_valid uses memblock_is_memory() The implementation is pretty much similar. There is a -small- added overhead by having another function call and the address shift. If that becomes a concern, I suppose we could actually have memblock itself expose a memblock_pfn_valid() which then ARM can use directly with an appropriate #define... Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>