]> git.karo-electronics.de Git - linux-beck.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)
commitbbb3b6b35087539e75792b46e07b7ce5282d0979
treee1cbcddd257fcca72bcfcae8981028159881663b
parent0dbd3b18c63c81dec1a8c47667d89c54ade9b52a
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