summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorDave Martin2018-09-28 15:39:08 +0200
committerMarc Zyngier2019-03-29 15:41:52 +0100
commit3f61f40947e88b069ac1103727c81582d6e91dea (patch)
tree10d4e5de510a1305e8a99ed817e34e666869df95 /arch/arm64/include
parentKVM: arm64: Refactor kvm_arm_num_regs() for easier maintenance (diff)
downloadkernel-qcow2-linux-3f61f40947e88b069ac1103727c81582d6e91dea.tar.gz
kernel-qcow2-linux-3f61f40947e88b069ac1103727c81582d6e91dea.tar.xz
kernel-qcow2-linux-3f61f40947e88b069ac1103727c81582d6e91dea.zip
KVM: arm64: Add missing #includes to kvm_host.h
kvm_host.h uses some declarations from other headers that are currently included by accident, without an explicit #include. This patch adds a few #includes that are clearly missing. Although the header builds without them today, this should help to avoid future surprises. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Tested-by: zhang.lei <zhang.lei@jp.fujitsu.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/kvm_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
index a01fe087e022..6d10100ff870 100644
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@ -22,9 +22,13 @@
#ifndef __ARM64_KVM_HOST_H__
#define __ARM64_KVM_HOST_H__
+#include <linux/bitmap.h>
#include <linux/types.h>
+#include <linux/jump_label.h>
#include <linux/kvm_types.h>
+#include <linux/percpu.h>
#include <asm/arch_gicv3.h>
+#include <asm/barrier.h>
#include <asm/cpufeature.h>
#include <asm/daifflags.h>
#include <asm/fpsimd.h>