]> git.baikalelectronics.ru Git - kernel.git/commit
kvm-arm: Replace kvm_pmd_huge with pmd_thp_or_huge
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 1 Mar 2016 12:00:39 +0000 (12:00 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 21 Apr 2016 12:57:05 +0000 (14:57 +0200)
commit250be8018dd86230e34f96e93e428ef02dd505c2
treee1cbcddd257fcca72bcfcae8981028159881663b
parent5115e1ad31f84a6c30978aa40fbcceb886b73eee
kvm-arm: Replace kvm_pmd_huge with pmd_thp_or_huge

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 <mark.rutland@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
arch/arm/kvm/mmu.c