summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDave Martin <Dave.Martin@arm.com>2018-09-28 14:39:08 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-03-29 14:41:52 +0000
commit3f61f40947e88b069ac1103727c81582d6e91dea (patch)
tree10d4e5de510a1305e8a99ed817e34e666869df95 /arch
parent7aa92cf318f8136c445c1656d291f50df189b56a (diff)
downloadlinux-stable-3f61f40947e88b069ac1103727c81582d6e91dea.tar.gz
linux-stable-3f61f40947e88b069ac1103727c81582d6e91dea.tar.bz2
linux-stable-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')
-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>