|
@@ -4,8 +4,6 @@
|
|
|
|
|
|
#include <asm/cacheflush.h>
|
|
|
#include <asm/page.h>
|
|
|
-#include <asm-generic/hugetlb.h>
|
|
|
-
|
|
|
|
|
|
static inline int is_hugepage_only_range(struct mm_struct *mm,
|
|
|
unsigned long addr,
|
|
@@ -27,14 +25,6 @@ static inline int prepare_hugepage_range(struct file *file,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
|
|
|
- unsigned long addr, unsigned long end,
|
|
|
- unsigned long floor,
|
|
|
- unsigned long ceiling)
|
|
|
-{
|
|
|
- free_pgd_range(tlb, addr, end, floor, ceiling);
|
|
|
-}
|
|
|
-
|
|
|
static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
|
|
|
pte_t *ptep, pte_t pte)
|
|
|
{
|
|
@@ -85,4 +75,6 @@ static inline void arch_clear_hugepage_flags(struct page *page)
|
|
|
clear_bit(PG_dcache_clean, &page->flags);
|
|
|
}
|
|
|
|
|
|
+#include <asm-generic/hugetlb.h>
|
|
|
+
|
|
|
#endif /* _ASM_SH_HUGETLB_H */
|