summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-03-30 16:45:56 +0200
committerWill Deacon <will.deacon@arm.com>2016-04-14 17:31:49 +0200
commit97bbb54e4f27f4c63645f603bf767183ee0dd549 (patch)
treed6f08bc4b8ef2f63870a5a5c7f36add0d140e0db /arch/arm64/mm
parentarm64: remove the now unneeded relocate_initrd() (diff)
downloadlinux-97bbb54e4f27f4c63645f603bf767183ee0dd549.tar.xz
linux-97bbb54e4f27f4c63645f603bf767183ee0dd549.zip
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>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions