diff options
author | 2022-12-07 09:17:19 +0530 | |
---|---|---|
committer | 2022-12-07 09:17:19 +0530 | |
commit | e81af89baebf86938cda1a7c2bee51c676c04e21 (patch) | |
tree | 7cd4cfc270f56742f6daf05939c4354cace56d96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RISC-V: KVM: Remove redundant includes of asm/csr.h (diff) | |
download | wireguard-linux-e81af89baebf86938cda1a7c2bee51c676c04e21.tar.xz wireguard-linux-e81af89baebf86938cda1a7c2bee51c676c04e21.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions