aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 1a65fdd06318..09131ec090c1 100644
--- a/init/main.c
+++ b/init/main.c
@@ -642,6 +642,10 @@ asmlinkage void __init start_kernel(void)
642 "enabled early\n"); 642 "enabled early\n");
643 early_boot_irqs_on(); 643 early_boot_irqs_on();
644 local_irq_enable(); 644 local_irq_enable();
645
646 /* Interrupts are enabled now so all GFP allocations are safe. */
647 set_gfp_allowed_mask(__GFP_BITS_MASK);
648
645 kmem_cache_init_late(); 649 kmem_cache_init_late();
646 650
647 /* 651 /*