summaryrefslogtreecommitdiff
path: root/arch/riscv/kvm/vcpu_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kvm/vcpu_fp.c')
-rw-r--r--arch/riscv/kvm/vcpu_fp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kvm/vcpu_fp.c b/arch/riscv/kvm/vcpu_fp.c
index 4449a976e5a6..d4308c512007 100644
--- a/arch/riscv/kvm/vcpu_fp.c
+++ b/arch/riscv/kvm/vcpu_fp.c
@@ -11,6 +11,7 @@
#include <linux/err.h>
#include <linux/kvm_host.h>
#include <linux/uaccess.h>
+#include <asm/hwcap.h>
#ifdef CONFIG_FPU
void kvm_riscv_vcpu_fp_reset(struct kvm_vcpu *vcpu)