diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-12-07 09:17:19 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-12-07 09:17:19 +0530 |
commit | e81af89baebf86938cda1a7c2bee51c676c04e21 (patch) | |
tree | 7cd4cfc270f56742f6daf05939c4354cace56d96 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1343c61a7032cf85680b666a340d9c4c683b2ec8 (diff) |
RISC-V: KVM: Use switch-case in kvm_riscv_vcpu_set/get_reg()
We should use switch-case in kvm_riscv_vcpu_set/get_reg() functions
because the else-if ladder is quite big now.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions