diff options
| author | Ard Biesheuvel <[email protected]> | 2020-09-14 08:25:16 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2020-10-28 16:05:39 +0000 |
| commit | 172c34c9ff0144c3e1d96a9b54d6fecfe5d17c3c (patch) | |
| tree | 8d836e7ef03c5a53f735d3d724793565aa6ffeb7 /arch/arm/include/asm/assembler.h | |
| parent | ARM: head-common.S: use PC-relative insn sequence for __proc_info (diff) | |
| download | kernel-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
