diff options
author | Marc Zyngier <maz@kernel.org> | 2021-02-08 09:57:10 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-08 12:51:26 +0000 |
commit | 114945d84a30a5feba8ec24d854257c78c89abd1 (patch) | |
tree | 6c5cfecce9b5b573e87b9a6208747ba6511c1645 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 19c329f6808995b142b3966301f217c831e7cf31 (diff) |
arm64: Fix labels in el2_setup macros
If someone happens to write the following code:
b 1f
init_el2_state vhe
1:
[...]
they will be in for a long debugging session, as the label "1f"
will be resolved *inside* the init_el2_state macro instead of
after it. Not really what one expects.
Instead, rewite the EL2 setup macros to use unambiguous labels,
thanks to the usual macro counter trick.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: David Brazdil <dbrazdil@google.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-2-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions