diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-04-28 16:03:50 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-05-06 11:03:56 +0100 |
commit | 7ee74cc7ad7ef526e4383a3a3294b7039622eb37 (patch) | |
tree | 1740965126509314123ee2d27a618b8e16293119 /kernel/ksysfs.c | |
parent | 325031d4f39cfb1adf41708c1329e60b9abfbdac (diff) | |
download | linux-7ee74cc7ad7ef526e4383a3a3294b7039622eb37.tar.gz |
KVM: arm64: Avoid unnecessary absolute addressing via literals
There are a few cases in the nVHE code where we take the absolute address of a symbol via a literal pool entry, and subsequently translate it to another address space (PA, kimg VA, kernel linear VA, etc). Originally, this literal was needed because we relied on a different translation for absolute references, but this is no longer the case, so we can simply use relative addressing instead. This removes a couple of RELA entries pointing into the .text segment. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220428140350.3303481-1-ardb@kernel.org
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions