]> Pileus Git - ~andy/linux/blobdiff - mm/sparse.c
mm: mmu_notifier: fix freed page still mapped in secondary MMU
[~andy/linux] / mm / sparse.c
index c7bb952400c83c9114a401f647955cb18dd2ea44..950981fd07c5f2686b08cb864c2e0f3d548d4d95 100644 (file)
@@ -493,6 +493,9 @@ void __init sparse_init(void)
        struct page **map_map;
 #endif
 
+       /* Setup pageblock_order for HUGETLB_PAGE_SIZE_VARIABLE */
+       set_pageblock_order();
+
        /*
         * map is using big page (aka 2M in x86 64 bit)
         * usemap is less one page (aka 24 bytes)