Skip to content

Commit 4d968b1

Browse files
willdeaconMarc Zyngier
authored andcommitted
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é <[email protected]> Tested-by: Vincent Donnefort <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9926cfc commit 4d968b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kvm/hyp/include/nvhe/mem_protect.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define __KVM_NVHE_MEM_PROTECT__
99
#include <linux/kvm_host.h>
1010
#include <asm/kvm_hyp.h>
11+
#include <asm/kvm_mmu.h>
1112
#include <asm/kvm_pgtable.h>
1213
#include <asm/virt.h>
1314
#include <nvhe/spinlock.h>

0 commit comments

Comments
 (0)