aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/hyp-stub.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-09-14 11:25:46 +0300
committerArd Biesheuvel <ardb@kernel.org>2020-10-28 17:05:40 +0100
commit3bcf906b194cebb6817cbb2f07b69e12aa5d7f51 (patch)
tree2908db68b7fad9927a9231ca311d80bbafb9fea7 /arch/arm/kernel/hyp-stub.S
parentARM: sleep.S: use PC-relative insn sequence for sleep_save_sp/mpidr_hash (diff)
downloadlinux-dev-3bcf906b194cebb6817cbb2f07b69e12aa5d7f51.tar.xz
linux-dev-3bcf906b194cebb6817cbb2f07b69e12aa5d7f51.zip
ARM: head.S: use PC relative insn sequence to calculate PHYS_OFFSET
Replace the open coded arithmetic with a simple adr_l/sub pair. This removes some open coded arithmetic involving virtual addresses, avoids literal pools on v7+, and slightly reduces the footprint of the code. Reviewed-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/arm/kernel/hyp-stub.S')
0 files changed, 0 insertions, 0 deletions