From: Will Deacon Date: Thu, 10 Nov 2022 19:02:42 +0000 (+0000) Subject: KVM: arm64: Include asm/kvm_mmu.h in nvhe/mem_protect.h X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4d968b12e6bbe4440f4f220c41d779e02df8af1a;p=users%2Fjedix%2Flinux-maple.git KVM: arm64: Include asm/kvm_mmu.h in nvhe/mem_protect.h nvhe/mem_protect.h refers to __load_stage2() in the definition of __load_host_stage2() but doesn't include the relevant header. Include asm/kvm_mmu.h in nvhe/mem_protect.h so that users of the latter don't have to do this themselves. Reviewed-by: Philippe Mathieu-Daudé Tested-by: Vincent Donnefort Signed-off-by: Will Deacon Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20221110190259.26861-10-will@kernel.org --- diff --git a/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h b/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h index 998bf165af71..3bea816296dc 100644 --- a/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h +++ b/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h @@ -8,6 +8,7 @@ #define __KVM_NVHE_MEM_PROTECT__ #include #include +#include #include #include #include