diff options
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/page.h b/include/asm-ia64/page.h index 3ab27333dae4..6e9aa23250c4 100644 --- a/include/asm-ia64/page.h +++ b/include/asm-ia64/page.h | |||
@@ -149,7 +149,7 @@ typedef union ia64_va { | |||
149 | | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT))) | 149 | | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT))) |
150 | # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) | 150 | # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) |
151 | # define is_hugepage_only_range(mm, addr, len) \ | 151 | # define is_hugepage_only_range(mm, addr, len) \ |
152 | (REGION_NUMBER(addr) == RGN_HPAGE && \ | 152 | (REGION_NUMBER(addr) == RGN_HPAGE || \ |
153 | REGION_NUMBER((addr)+(len)-1) == RGN_HPAGE) | 153 | REGION_NUMBER((addr)+(len)-1) == RGN_HPAGE) |
154 | extern unsigned int hpage_shift; | 154 | extern unsigned int hpage_shift; |
155 | #endif | 155 | #endif |