aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/assembler.h
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2020-09-14 08:25:23 +0000
committerArd Biesheuvel <[email protected]>2020-10-28 16:05:39 +0000
commit91580f0dbf24c6d616091526a900213bc7aa48fe (patch)
treea9a8205f35c85cfebeba74be4498055b53356eae /arch/arm/include/asm/assembler.h
parentARM: head-common.S: use PC-relative insn sequence for idmap creation (diff)
downloadkernel-91580f0dbf24c6d616091526a900213bc7aa48fe.tar.gz
kernel-91580f0dbf24c6d616091526a900213bc7aa48fe.zip
ARM: head.S: use PC-relative insn sequence for secondary_data
Replace the open coded PC relative offset calculations with adr_l and ldr_l invocations. This removes some open coded arithmetic involving virtual addresses, avoids literal pools on v7+, and slightly reduces the footprint of the code. Note that it also removes a stale comment about the contents of r6. 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