aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/pgtable.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
index f1eddf71dd0c..31b6188df221 100644
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -87,14 +87,6 @@ static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm,
87 pmd_clear(mm, address, pmdp); 87 pmd_clear(mm, address, pmdp);
88 return pmd; 88 return pmd;
89}) 89})
90#else /* CONFIG_TRANSPARENT_HUGEPAGE */
91static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm,
92 unsigned long address,
93 pmd_t *pmdp)
94{
95 BUG();
96 return __pmd(0);
97}
98#endif /* CONFIG_TRANSPARENT_HUGEPAGE */ 90#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
99#endif 91#endif
100 92
@@ -163,9 +155,9 @@ static inline void pmdp_set_wrprotect(struct mm_struct *mm,
163#endif 155#endif
164 156
165#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH 157#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH
166extern pmd_t pmdp_clear_flush(struct vm_area_struct *vma, 158extern pmd_t pmdp_splitting_flush(struct vm_area_struct *vma,
167 unsigned long address, 159 unsigned long address,
168 pmd_t *pmdp); 160 pmd_t *pmdp);
169#endif 161#endif
170 162
171#ifndef __HAVE_ARCH_PTE_SAME 163#ifndef __HAVE_ARCH_PTE_SAME