|
@@ -4,7 +4,6 @@
|
|
|
|
|
|
#ifdef CONFIG_HUGETLB_PAGE
|
|
#ifdef CONFIG_HUGETLB_PAGE
|
|
#include <asm/page.h>
|
|
#include <asm/page.h>
|
|
-#include <asm-generic/hugetlb.h>
|
|
|
|
|
|
|
|
extern struct kmem_cache *hugepte_cache;
|
|
extern struct kmem_cache *hugepte_cache;
|
|
|
|
|
|
@@ -110,6 +109,7 @@ static inline void flush_hugetlb_page(struct vm_area_struct *vma,
|
|
void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
|
|
void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#define __HAVE_ARCH_HUGETLB_FREE_PGD_RANGE
|
|
void hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr,
|
|
void hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr,
|
|
unsigned long end, unsigned long floor,
|
|
unsigned long end, unsigned long floor,
|
|
unsigned long ceiling);
|
|
unsigned long ceiling);
|
|
@@ -176,6 +176,8 @@ static inline void arch_clear_hugepage_flags(struct page *page)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#include <asm-generic/hugetlb.h>
|
|
|
|
+
|
|
#else /* ! CONFIG_HUGETLB_PAGE */
|
|
#else /* ! CONFIG_HUGETLB_PAGE */
|
|
static inline void flush_hugetlb_page(struct vm_area_struct *vma,
|
|
static inline void flush_hugetlb_page(struct vm_area_struct *vma,
|
|
unsigned long vmaddr)
|
|
unsigned long vmaddr)
|