aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-ia64/pgtable.h3
-rw-r--r--include/linux/hugetlb.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h
index 5890972a69bf..c0f8144f2349 100644
--- a/include/asm-ia64/pgtable.h
+++ b/include/asm-ia64/pgtable.h
@@ -505,9 +505,6 @@ extern struct page *zero_page_memmap_ptr;
505#define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3)) 505#define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3))
506#define HUGETLB_PGDIR_SIZE (__IA64_UL(1) << HUGETLB_PGDIR_SHIFT) 506#define HUGETLB_PGDIR_SIZE (__IA64_UL(1) << HUGETLB_PGDIR_SHIFT)
507#define HUGETLB_PGDIR_MASK (~(HUGETLB_PGDIR_SIZE-1)) 507#define HUGETLB_PGDIR_MASK (~(HUGETLB_PGDIR_SIZE-1))
508struct mmu_gather;
509void hugetlb_free_pgd_range(struct mmu_gather **tlb, unsigned long addr,
510 unsigned long end, unsigned long floor, unsigned long ceiling);
511#endif 508#endif
512 509
513/* 510/*
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index e465fbf1ef5f..5db25ffdb3eb 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -47,6 +47,10 @@ void hugetlb_change_protection(struct vm_area_struct *vma,
47 47
48#ifndef ARCH_HAS_HUGETLB_FREE_PGD_RANGE 48#ifndef ARCH_HAS_HUGETLB_FREE_PGD_RANGE
49#define hugetlb_free_pgd_range free_pgd_range 49#define hugetlb_free_pgd_range free_pgd_range
50#else
51void hugetlb_free_pgd_range(struct mmu_gather **tlb, unsigned long addr,
52 unsigned long end, unsigned long floor,
53 unsigned long ceiling);
50#endif 54#endif
51 55
52#ifndef ARCH_HAS_PREPARE_HUGEPAGE_RANGE 56#ifndef ARCH_HAS_PREPARE_HUGEPAGE_RANGE