Skip to content
Commit d2d73d2f authored by Will Deacon's avatar Will Deacon
Browse files

arm64: mm: Simplify definition of virt_addr_valid()



_virt_addr_valid() is defined as the same value in two places and rolls
its own version of virt_to_pfn() in both cases.

Consolidate these definitions by inlining a simplified version directly
into virt_addr_valid().

Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent d2c68de1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment