diff options
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/page.h | 2 | ||||
-rw-r--r-- | include/asm-ia64/pgtable.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ia64/page.h b/include/asm-ia64/page.h index 24aab801a8ca..08894f73abf0 100644 --- a/include/asm-ia64/page.h +++ b/include/asm-ia64/page.h | |||
@@ -139,7 +139,7 @@ typedef union ia64_va { | |||
139 | # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) | 139 | # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) |
140 | # define is_hugepage_only_range(mm, addr, len) \ | 140 | # define is_hugepage_only_range(mm, addr, len) \ |
141 | (REGION_NUMBER(addr) == REGION_HPAGE && \ | 141 | (REGION_NUMBER(addr) == REGION_HPAGE && \ |
142 | REGION_NUMBER((addr)+(len)) == REGION_HPAGE) | 142 | REGION_NUMBER((addr)+(len)-1) == REGION_HPAGE) |
143 | extern unsigned int hpage_shift; | 143 | extern unsigned int hpage_shift; |
144 | #endif | 144 | #endif |
145 | 145 | ||
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h index 1757a811f436..bbf6dd757003 100644 --- a/include/asm-ia64/pgtable.h +++ b/include/asm-ia64/pgtable.h | |||
@@ -472,8 +472,8 @@ extern struct page *zero_page_memmap_ptr; | |||
472 | #define HUGETLB_PGDIR_SIZE (__IA64_UL(1) << HUGETLB_PGDIR_SHIFT) | 472 | #define HUGETLB_PGDIR_SIZE (__IA64_UL(1) << HUGETLB_PGDIR_SHIFT) |
473 | #define HUGETLB_PGDIR_MASK (~(HUGETLB_PGDIR_SIZE-1)) | 473 | #define HUGETLB_PGDIR_MASK (~(HUGETLB_PGDIR_SIZE-1)) |
474 | struct mmu_gather; | 474 | struct mmu_gather; |
475 | extern void hugetlb_free_pgtables(struct mmu_gather *tlb, | 475 | void hugetlb_free_pgd_range(struct mmu_gather **tlb, unsigned long addr, |
476 | struct vm_area_struct * prev, unsigned long start, unsigned long end); | 476 | unsigned long end, unsigned long floor, unsigned long ceiling); |
477 | #endif | 477 | #endif |
478 | 478 | ||
479 | /* | 479 | /* |