Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5e6f6aa1 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt
Browse files

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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 72d4b0b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment