diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-09-14 11:25:46 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-10-28 17:05:40 +0100 |
commit | 3bcf906b194cebb6817cbb2f07b69e12aa5d7f51 (patch) | |
tree | 2908db68b7fad9927a9231ca311d80bbafb9fea7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d74d2b225018baa0e04e080ee9e80b21667ba3a2 (diff) |
ARM: head.S: use PC relative insn sequence to calculate PHYS_OFFSET
Replace the open coded arithmetic with a simple adr_l/sub pair. 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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions