diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-12-19 09:31:54 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-12-19 18:48:21 +0100 |
commit | 8c33df1afd86c611da8473dc6fc5f3af3dabe984 (patch) | |
tree | 6c933ec024005d35e971a393ed2ac59251dfe03d /arch/arm/include | |
parent | arm/arm64: KVM: Add ARM_EXCEPTION_IS_TRAP macro (diff) | |
download | linux-8c33df1afd86c611da8473dc6fc5f3af3dabe984.tar.xz linux-8c33df1afd86c611da8473dc6fc5f3af3dabe984.zip |
arm: KVM: Add S2_PMD_{MASK,SIZE} constants
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/stage2_pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/stage2_pgtable.h b/arch/arm/include/asm/stage2_pgtable.h index f9017167a8d1..c4b1d4fb1797 100644 --- a/arch/arm/include/asm/stage2_pgtable.h +++ b/arch/arm/include/asm/stage2_pgtable.h @@ -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_ */ |