aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/assembler.h
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2020-09-14 08:25:16 +0000
committerArd Biesheuvel <[email protected]>2020-10-28 16:05:39 +0000
commit172c34c9ff0144c3e1d96a9b54d6fecfe5d17c3c (patch)
tree8d836e7ef03c5a53f735d3d724793565aa6ffeb7 /arch/arm/include/asm/assembler.h
parentARM: head-common.S: use PC-relative insn sequence for __proc_info (diff)
downloadkernel-172c34c9ff0144c3e1d96a9b54d6fecfe5d17c3c.tar.gz
kernel-172c34c9ff0144c3e1d96a9b54d6fecfe5d17c3c.zip
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 <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions