summaryrefslogtreecommitdiff
path: root/arch/arm/boot/compressed/head.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-09-14 11:25:34 +0300
committerArd Biesheuvel <ardb@kernel.org>2020-10-28 17:05:40 +0100
commitd74d2b225018baa0e04e080ee9e80b21667ba3a2 (patch)
treebeab63e6f5b0cce1ef732031af7940a90db4dc1b /arch/arm/boot/compressed/head.S
parent59d2f2827dfdccf8911d5e51465136b52ba623c4 (diff)
ARM: sleep.S: use PC-relative insn sequence for sleep_save_sp/mpidr_hash
Replace the open coded PC relative offset calculations with adr_l and ldr_l invocations. This removes some open coded PC relative arithmetic, avoids literal pools on v7+, and slightly reduces the footprint of the code. Note that ALT_SMP() expects a single instruction so move the macro invocation after it. Reviewed-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/arm/boot/compressed/head.S')
0 files changed, 0 insertions, 0 deletions