aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/stage2_pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/stage2_pgtable.h')
-rw-r--r--arch/arm/include/asm/stage2_pgtable.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/stage2_pgtable.h b/arch/arm/include/asm/stage2_pgtable.h
index c4b1d4fb1797..de2089501b8b 100644
--- a/arch/arm/include/asm/stage2_pgtable.h
+++ b/arch/arm/include/asm/stage2_pgtable.h
@@ -76,4 +76,9 @@ static inline bool kvm_stage2_has_pud(struct kvm *kvm)
#define S2_PMD_MASK PMD_MASK
#define S2_PMD_SIZE PMD_SIZE
+static inline bool kvm_stage2_has_pmd(struct kvm *kvm)
+{
+ return true;
+}
+
#endif /* __ARM_S2_PGTABLE_H_ */