aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2013-12-16 13:43:04 +0000
committerSteve Capper <steve.capper@linaro.org>2013-12-16 13:44:58 +0000
commita68ffa1fe645de59479554d6adf81437defd5864 (patch)
treed9013904ffbdf747c4f7d876392d59d6eb417d55
parent1a3359eeb8e5363a808dcf4485a89759d9308ecc (diff)
downloadlinux-hugepages-short-simplified.tar.gz
fixup! arm: mm: HugeTLB support for non-LPAE systemshugepages-short-simplified
-rw-r--r--arch/arm/include/asm/pgtable-2level.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pgtable-2level.h b/arch/arm/include/asm/pgtable-2level.h
index f7c25991b85..ff103ee5ca8 100644
--- a/arch/arm/include/asm/pgtable-2level.h
+++ b/arch/arm/include/asm/pgtable-2level.h
@@ -230,6 +230,8 @@ static inline unsigned long pmd_pfn(pmd_t pmd)
#define huge_pte_page(pte) (pfn_to_page((pte_val(pte) & HPAGE_MASK) >> PAGE_SHIFT))
#define huge_pte_present(pte) (1)
+#define huge_pte_mkyoung(pte) (__pte(pmd_val(pmd_mkyoung(__pmd(pte_val(pte))))))
+//FIXME FIXME - move pmd_mkyoung into HugeTLB patch from THP patch...
extern pgprot_t get_huge_pgprot(pgprot_t newprot);