aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2021-10-22 15:16:35 +0100
committerWill Deacon <[email protected]>2021-10-26 10:15:46 +0100
commit04ee53a55543ddc16398391ac95e97e5c9436ba3 (patch)
treed0fbdfa90a751e8fe03bbf783a6de5a0040bfc40 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent49ed920408f85fb143020cf7d95612b6b12a84a2 (diff)
arm64/sve: Fix warnings when SVE is disabled
In configurations where SVE is disabled we define but never reference the functions for retrieving the default vector length, causing warnings. Fix this by move the ifdef up, marking get_default_vl() inline since it is referenced from code guarded by an IS_ENABLED() check, and do the same for the other accessors for consistency. Reported-by: Catalin Marinas <[email protected]> Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions