]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: Route pmd thp functions through pte equivalents
authorSteve Capper <steve.capper@linaro.org>
Tue, 25 Feb 2014 10:02:13 +0000 (10:02 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Mar 2014 18:02:10 +0000 (18:02 +0000)
commitc42a0a09db980279f2f15e975a0755a783a07fe1
tree59598b3e9733e62d6ec8e10270dc7b7664916700
parentcc5ef9f825b4b94296645b58374669354458f647
arm64: mm: Route pmd thp functions through pte equivalents

Rather than have separate hugetlb and transparent huge page pmd
manipulation functions, re-wire our thp functions to simply call the
pte equivalents.

This allows THP to take advantage of the new PTE_WRITE logic introduced
in:
  07b1f6d arm64: mm: Introduce PTE_WRITE

To represent splitting THPs we use the PTE_SPECIAL bit as this is not
used for pmds.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h