Do not depend on MAX_ORDER when grouping pages by mobility
[platform/kernel/linux-starfive.git] / arch / ia64 / mm / hugetlbpage.c
index a9ff685..d3ce8f3 100644 (file)
@@ -194,6 +194,6 @@ static int __init hugetlb_setup_sz(char *str)
         * override here with new page shift.
         */
        ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2);
-       return 1;
+       return 0;
 }
-__setup("hugepagesz=", hugetlb_setup_sz);
+early_param("hugepagesz", hugetlb_setup_sz);