arm: KVM: Add S2_PMD_{MASK,SIZE} constants
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Dec 2018 08:31:54 +0000 (08:31 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Dec 2018 17:48:21 +0000 (17:48 +0000)
They were missing, and it turns out that we do need them now.

Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/stage2_pgtable.h

index f9017167a8d19709adb47d988a8cebe1b22b7bd3..c4b1d4fb17972ed3d638e187663607fe42bc9f0e 100644 (file)
@@ -73,4 +73,7 @@ static inline bool kvm_stage2_has_pud(struct kvm *kvm)
        return false;
 }
 
+#define S2_PMD_MASK                            PMD_MASK
+#define S2_PMD_SIZE                            PMD_SIZE
+
 #endif /* __ARM_S2_PGTABLE_H_ */