diff options
author | Anup Patel <[email protected]> | 2022-12-07 09:17:19 +0530 |
---|---|---|
committer | Anup Patel <[email protected]> | 2022-12-07 09:17:19 +0530 |
commit | e81af89baebf86938cda1a7c2bee51c676c04e21 (patch) | |
tree | 7cd4cfc270f56742f6daf05939c4354cace56d96 /tools/perf/scripts/python | |
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 <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions