diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 5 | ||||
-rw-r--r-- | arch/ia64/mm/hugetlbpage.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 802b082e216d..f80f5e2aec87 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -54,6 +54,11 @@ config ARCH_HAS_ILOG2_U64 | |||
54 | bool | 54 | bool |
55 | default n | 55 | default n |
56 | 56 | ||
57 | config HUGETLB_PAGE_SIZE_VARIABLE | ||
58 | bool | ||
59 | depends on HUGETLB_PAGE | ||
60 | default y | ||
61 | |||
57 | config GENERIC_FIND_NEXT_BIT | 62 | config GENERIC_FIND_NEXT_BIT |
58 | bool | 63 | bool |
59 | default y | 64 | default y |
diff --git a/arch/ia64/mm/hugetlbpage.c b/arch/ia64/mm/hugetlbpage.c index a9ff685aea25..d3ce8f3bcaa6 100644 --- a/arch/ia64/mm/hugetlbpage.c +++ b/arch/ia64/mm/hugetlbpage.c | |||
@@ -194,6 +194,6 @@ static int __init hugetlb_setup_sz(char *str) | |||
194 | * override here with new page shift. | 194 | * override here with new page shift. |
195 | */ | 195 | */ |
196 | ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2); | 196 | ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2); |
197 | return 1; | 197 | return 0; |
198 | } | 198 | } |
199 | __setup("hugepagesz=", hugetlb_setup_sz); | 199 | early_param("hugepagesz", hugetlb_setup_sz); |