Re: [PATCH v2 05/17] kvm-arm: Replace kvm_pmd_huge with pmd_thp_or_huge

2016-04-14 Thread Marc Zyngier
On 14/04/16 14:20, Suzuki K Poulose wrote: > Both arm and arm64 now provides a helper, pmd_thp_or_huge() > to check if the given pmd represents a huge page. Use that > instead of our own custom check. > > Suggested-by: Mark Rutland > Cc: Marc Zyngier > Acked-by: Christoffer Dall > Signed-off-by

[PATCH v2 05/17] kvm-arm: Replace kvm_pmd_huge with pmd_thp_or_huge

2016-04-14 Thread Suzuki K Poulose
Both arm and arm64 now provides a helper, pmd_thp_or_huge() to check if the given pmd represents a huge page. Use that instead of our own custom check. Suggested-by: Mark Rutland Cc: Marc Zyngier Acked-by: Christoffer Dall Signed-off-by: Suzuki K Poulose --- arch/arm/kvm/mmu.c | 17