diff options
author | Dave Martin <Dave.Martin@arm.com> | 2018-09-28 15:39:08 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-03-29 15:41:52 +0100 |
commit | 3f61f40947e88b069ac1103727c81582d6e91dea (patch) | |
tree | 10d4e5de510a1305e8a99ed817e34e666869df95 | |
parent | KVM: arm64: Refactor kvm_arm_num_regs() for easier maintenance (diff) | |
download | linux-3f61f40947e88b069ac1103727c81582d6e91dea.tar.xz 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>
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 4 |
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> |