commit | 9ba33dcc6bef4e56c762b446f0000f27ee737b8b | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Tue Aug 13 16:34:32 2019 +0100 |
committer | Will Deacon <will@kernel.org> | Wed Aug 14 13:07:49 2019 +0100 |
tree | 7e21d0a1f4cac0431ba2dbb59933ccd53a88184c | |
parent | 96628f0fb18080a4166fc9eab8f7fd062d860667 [diff] |
arm64: memory: Simplify virt_to_page() implementation Build virt_to_page() on top of virt_to_pfn() so we can avoid the need for explicit shifting. Tested-by: Steve Capper <steve.capper@arm.com> Reviewed-by: Steve Capper <steve.capper@arm.com> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will@kernel.org>