diff options
Diffstat (limited to 'include/asm-ia64/page.h')
-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 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 | ||