aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/hugetlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/hugetlb.h')
-rw-r--r--include/asm-generic/hugetlb.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-generic/hugetlb.h b/include/asm-generic/hugetlb.h
index c697ca9dda18..ee010b756246 100644
--- a/include/asm-generic/hugetlb.h
+++ b/include/asm-generic/hugetlb.h
@@ -47,8 +47,14 @@ static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
47{ 47{
48 free_pgd_range(tlb, addr, end, floor, ceiling); 48 free_pgd_range(tlb, addr, end, floor, ceiling);
49} 49}
50#endif
50 51
51 52#ifndef __HAVE_ARCH_HUGE_SET_HUGE_PTE_AT
53static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
54 pte_t *ptep, pte_t pte)
55{
56 set_pte_at(mm, addr, ptep, pte);
57}
52#endif 58#endif
53 59
54#endif /* _ASM_GENERIC_HUGETLB_H */ 60#endif /* _ASM_GENERIC_HUGETLB_H */