13 #ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
36 #ifndef __HAVE_ARCH_PMDP_SET_ACCESS_FLAGS
41 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
42 int changed = !pmd_same(*pmdp, entry);
56 #ifndef __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH
68 #ifndef __HAVE_ARCH_PMDP_CLEAR_YOUNG_FLUSH
73 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
85 #ifndef __HAVE_ARCH_PTEP_CLEAR_FLUSH
96 #ifndef __HAVE_ARCH_PMDP_CLEAR_FLUSH
97 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
103 pmd = pmdp_get_and_clear(vma->
vm_mm, address, pmdp);
110 #ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH
111 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
124 #ifndef __HAVE_ARCH_PGTABLE_DEPOSIT
125 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
131 if (!mm->pmd_huge_pte)
132 INIT_LIST_HEAD(&pgtable->
lru);
134 list_add(&pgtable->
lru, &mm->pmd_huge_pte->lru);
135 mm->pmd_huge_pte = pgtable;
140 #ifndef __HAVE_ARCH_PGTABLE_WITHDRAW
141 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
150 pgtable = mm->pmd_huge_pte;
151 if (list_empty(&pgtable->
lru))
152 mm->pmd_huge_pte =
NULL;
163 #ifndef __HAVE_ARCH_PMDP_INVALIDATE
164 #ifdef CONFIG_TRANSPARENT_HUGEPAGE