commit | 97bbb54e4f27f4c63645f603bf767183ee0dd549 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Wed Mar 30 16:45:56 2016 +0200 |
committer | Will Deacon <will.deacon@arm.com> | Thu Apr 14 16:31:49 2016 +0100 |
tree | d6f08bc4b8ef2f63870a5a5c7f36add0d140e0db | |
parent | 8923a16686569375bfa25b877769f9a3093e9f22 [diff] |
arm64: vdso: avoid virt_to_page() translations on kernel symbols The translation performed by virt_to_page() is only valid for linear addresses, and kernel symbols are no longer in the linear mapping. So perform the __pa() translation explicitly, which does the right thing in either case, and only then translate to a struct page offset. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>