]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Introduce pmd_thp_or_huge
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 15 Mar 2016 10:46:34 +0000 (10:46 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 21 Apr 2016 12:56:52 +0000 (14:56 +0200)
commit5115e1ad31f84a6c30978aa40fbcceb886b73eee
tree26c3cf4e55512867c09efbd16efdc59bc9ad329d
parent437f755775a45fd78a28f4a029b1bf41a268b5b4
arm64: Introduce pmd_thp_or_huge

Add a helper to determine if a given pmd represents a huge page
either by hugetlb or thp, as we have for arm. This will be used
by KVM MMU code.

Suggested-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
arch/arm64/include/asm/pgtable.h