commit | d2d73d2fef421ca0d447946cc430fdf5c4c5b06a | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Fri Aug 09 15:27:32 2019 +0100 |
committer | Will Deacon <will@kernel.org> | Fri Aug 09 15:39:11 2019 +0100 |
tree | d5fb552c672d629da8408b3aa53cca0c9b1321c5 | |
parent | d2c68de192cfb90f607a80c6b10c41ebd8a3de6a [diff] |
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: Will Deacon <will@kernel.org>