Skip to content

Commit

Permalink
arm: KVM: Add missing kvm_stage2_has_pmd() helper
Browse files Browse the repository at this point in the history
Fixup 32bit by providing the now required helper.

Cc: Suzuki Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
  • Loading branch information
Marc Zyngier committed Feb 7, 2019
1 parent ab2d5eb commit 309a205
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/include/asm/stage2_pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 309a205

Please sign in to comment.