diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-09-14 11:25:16 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-10-28 17:05:39 +0100 |
commit | 172c34c9ff0144c3e1d96a9b54d6fecfe5d17c3c (patch) | |
tree | 8d836e7ef03c5a53f735d3d724793565aa6ffeb7 /arch/arm/include/asm/assembler.h | |
parent | 62c4a2e202b18e1d7176875b7e7af240f340596b (diff) |
ARM: head-common.S: use PC-relative insn sequence for idmap creation
Replace the open coded PC relative offset calculations involving
__turn_mmu_on and __turn_mmu_on_end with a pair of adr_l invocations.
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/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions