diff options
author | Alexandru Elisei <alexandru.elisei@arm.com> | 2021-01-06 14:42:18 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-01-14 11:09:38 +0000 |
commit | 7ba8b4380afbdbb29d53c50bee6563cd7457fc34 (patch) | |
tree | 67a61e8d0d2695a1fa63dba9b2c1fa3116315225 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2c91ef39216149df6703c3fa6a47dd9a1e6091c1 (diff) |
KVM: arm64: Use the reg_to_encoding() macro instead of sys_reg()
The reg_to_encoding() macro is a wrapper over sys_reg() and conveniently
takes a sys_reg_desc or a sys_reg_params argument and returns the 32 bit
register encoding. Use it instead of calling sys_reg() directly.
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210106144218.110665-1-alexandru.elisei@arm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions