|
|
@@ -410,6 +410,7 @@ static inline pmd_t pmdp_flush_lazy(struct mm_struct *mm,
|
|
|
return old;
|
|
|
}
|
|
|
|
|
|
+#ifdef CONFIG_PGSTE
|
|
|
static pmd_t *pmd_alloc_map(struct mm_struct *mm, unsigned long addr)
|
|
|
{
|
|
|
pgd_t *pgd;
|
|
|
@@ -427,6 +428,7 @@ static pmd_t *pmd_alloc_map(struct mm_struct *mm, unsigned long addr)
|
|
|
pmd = pmd_alloc(mm, pud, addr);
|
|
|
return pmd;
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
pmd_t pmdp_xchg_direct(struct mm_struct *mm, unsigned long addr,
|
|
|
pmd_t *pmdp, pmd_t new)
|