|
@@ -31,10 +31,12 @@ static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot)
|
|
return pte_modify(pte, newprot);
|
|
return pte_modify(pte, newprot);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifndef huge_pte_clear
|
|
static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr,
|
|
static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr,
|
|
- pte_t *ptep)
|
|
|
|
|
|
+ pte_t *ptep, unsigned long sz)
|
|
{
|
|
{
|
|
pte_clear(mm, addr, ptep);
|
|
pte_clear(mm, addr, ptep);
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
#endif /* _ASM_GENERIC_HUGETLB_H */
|
|
#endif /* _ASM_GENERIC_HUGETLB_H */
|