mirror of https://gitee.com/openkylin/linux.git
arm: KVM: Add missing kvm_stage2_has_pmd() helper
Fixup 32bit by providing the now required helper. Cc: Suzuki Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
ab2d5eb03d
commit
309a205688
|
@ -76,4 +76,9 @@ static inline bool kvm_stage2_has_pud(struct kvm *kvm)
|
||||||
#define S2_PMD_MASK PMD_MASK
|
#define S2_PMD_MASK PMD_MASK
|
||||||
#define S2_PMD_SIZE PMD_SIZE
|
#define S2_PMD_SIZE PMD_SIZE
|
||||||
|
|
||||||
|
static inline bool kvm_stage2_has_pmd(struct kvm *kvm)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* __ARM_S2_PGTABLE_H_ */
|
#endif /* __ARM_S2_PGTABLE_H_ */
|
||||||
|
|
Loading…
Reference in New Issue