From 16a86ff04efcf51ce66e8f8490d25b6dc6943fab Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Mon, 31 Jan 2022 23:45:53 +0000 Subject: [PATCH] ANDROID: 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. Bug: 171706629 Signed-off-by: Will Deacon Change-Id: Ia48a1747fe10fd7ec7ba545c3290fe69b8d1839c --- arch/arm64/kvm/hyp/include/nvhe/mem_protect.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h b/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h index c7ba12748591..a4811d4ca180 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