sysfs: add more helper macro's for (bin_)attribute(_groups)
[firefly-linux-kernel-4.4.55.git] / mm / hugetlb.c
index fe095158859ec6f9f780a16333f823562efc633d..83aff0a4d0938e308619a703dfca17265419e628 100644 (file)
@@ -1263,7 +1263,7 @@ static void __init gather_bootmem_prealloc(void)
                 * side-effects, like CommitLimit going negative.
                 */
                if (h->order > (MAX_ORDER - 1))
-                       totalram_pages += 1 << h->order;
+                       adjust_managed_page_count(page, 1 << h->order);
        }
 }