]> git.dujemihanovic.xyz Git - linux.git/commit
KVM: selftests: Fix RISC-V compilation
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 3 Jun 2024 12:20:46 +0000 (14:20 +0200)
committerAnup Patel <anup@brainfault.org>
Thu, 6 Jun 2024 10:23:16 +0000 (15:53 +0530)
commit0fc670d07d5de36a54f061f457743c9cde1d8b46
treecffe75c12eed56846466095575450a766743849e
parentc66f3b40b17d3dfc4b6abb5efde8e71c46971821
KVM: selftests: Fix RISC-V compilation

Due to commit 2b7deea3ec7c ("Revert "kvm: selftests: move base
kvm_util.h declarations to kvm_util_base.h"") kvm selftests now
requires explicitly including ucall_common.h when needed. The commit
added the directives everywhere they were needed at the time, but, by
merge time, new places had been merged for RISC-V. Add those now to
fix RISC-V's compilation.

Fixes: dee7ea42a1eb ("Merge tag 'kvm-x86-selftests_utils-6.10' of https://github.com/kvm-x86/linux into HEAD")
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240603122045.323064-2-ajones@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
tools/testing/selftests/kvm/lib/riscv/ucall.c
tools/testing/selftests/kvm/riscv/ebreak_test.c
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c