projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: Extend gfp masking to the page allocator
[linux-2.6-block.git]
/
init
/
main.c
diff --git
a/init/main.c
b/init/main.c
index 1a65fdd06318f05c81e68d89fe7b80a3a1fcbbc5..09131ec090c197a33c17382544bc4ef9ac87277e 100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-642,6
+642,10
@@
asmlinkage void __init start_kernel(void)
"enabled early\n");
early_boot_irqs_on();
local_irq_enable();
+
+ /* Interrupts are enabled now so all GFP allocations are safe. */
+ set_gfp_allowed_mask(__GFP_BITS_MASK);
+
kmem_cache_init_late();
/*