[PATCH 2/7] Add various hugetlb page table fix
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2012-03-01 10:13:22
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2012-03-01 10:13:22
On Mon, Feb 13, 2012 at 09:44:23AM +0000, Bill Carson wrote:
--- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h@@ -236,6 +244,7 @@ PTE_BIT_FUNC(mkdirty, |= L_PTE_DIRTY); PTE_BIT_FUNC(mkold, &= ~L_PTE_YOUNG); PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG); +static inline pte_t pte_mkhuge(pte_t pte) { return pte; }
Do we need to set the PMD_TYPE_SECT here or you just do it via set_huge_pte()? -- Catalin