aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/riscv/processor.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-11-28 00:55:32 +0000
committerSean Christopherson <[email protected]>2024-12-17 16:49:48 +0000
commit915d2f0718a42ee0b334be34cc53664a865a5928 (patch)
treeb610874a9766a358031815d327852d22a3a8b7df /tools/testing/selftests/kvm/lib/riscv/processor.c
parentMerge tag 'kvm-riscv-fixes-6.13-1' of https://github.com/kvm-riscv/linux into... (diff)
downloadkernel-915d2f0718a42ee0b334be34cc53664a865a5928.tar.gz
kernel-915d2f0718a42ee0b334be34cc53664a865a5928.zip
KVM: Move KVM_REG_SIZE() definition to common uAPI header
Define KVM_REG_SIZE() in the common kvm.h header, and delete the arm64 and RISC-V versions. As evidenced by the surrounding definitions, all aspects of the register size encoding are generic, i.e. RISC-V should have moved arm64's definition to common code instead of copy+pasting. Acked-by: Anup Patel <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/riscv/processor.c')
0 files changed, 0 insertions, 0 deletions