]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/x86/mm/init.c
x86/mm: Fix boot crash with DEBUG_PAGE_ALLOC=y and more than 512G RAM
[linux-beck.git] / arch / x86 / mm / init.c
index 2ec29ac78ae6b76b47f6496d67830770bdac7275..04664cdb7fda3df55f3a989d2c4186aaa780dbc8 100644 (file)
@@ -78,8 +78,8 @@ __ref void *alloc_low_pages(unsigned int num)
        return __va(pfn << PAGE_SHIFT);
 }
 
-/* need 4 4k for initial PMD_SIZE, 4k for 0-ISA_END_ADDRESS */
-#define INIT_PGT_BUF_SIZE      (5 * PAGE_SIZE)
+/* need 3 4k for initial PMD_SIZE,  3 4k for 0-ISA_END_ADDRESS */
+#define INIT_PGT_BUF_SIZE      (6 * PAGE_SIZE)
 RESERVE_BRK(early_pgt_alloc, INIT_PGT_BUF_SIZE);
 void  __init early_alloc_pgt_buf(void)
 {