aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2009-06-15 09:50:49 -0400
committerVegard Nossum <vegard.nossum@gmail.com>2009-06-15 09:50:49 -0400
commit722f2a6c87f34ee0fd0130a8cf45f81e0705594a (patch)
tree50b054df34d2731eb0ba0cf1a6c27e43e7eed428 /init/main.c
parent7a0aeb14e18ad59394bd9bbc6e57fb345819e748 (diff)
parent45e3e1935e2857c54783291107d33323b3ef33c8 (diff)
Merge commit 'linus/master' into HEAD
Conflicts: MAINTAINERS Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index e3c335e47cd2..7becd8b5c5bf 100644
--- a/init/main.c
+++ b/init/main.c
@@ -540,6 +540,11 @@ void __init __weak thread_info_cache_init(void)
540 */ 540 */
541static void __init mm_init(void) 541static void __init mm_init(void)
542{ 542{
543 /*
544 * page_cgroup requires countinous pages as memmap
545 * and it's bigger than MAX_ORDER unless SPARSEMEM.
546 */
547 page_cgroup_init_flatmem();
543 mem_init(); 548 mem_init();
544 kmem_cache_init(); 549 kmem_cache_init();
545 vmalloc_init(); 550 vmalloc_init();
@@ -636,6 +641,7 @@ asmlinkage void __init start_kernel(void)
636 "enabled early\n"); 641 "enabled early\n");
637 early_boot_irqs_on(); 642 early_boot_irqs_on();
638 local_irq_enable(); 643 local_irq_enable();
644 kmem_cache_init_late();
639 645
640 /* 646 /*
641 * HACK ALERT! This is early. We're enabling the console before 647 * HACK ALERT! This is early. We're enabling the console before