aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-01 15:54:19 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-01 18:49:02 -0400
commit8302294f43250dc337108c51882a6007f2b1e2e0 (patch)
tree85acd4440799c46a372df9cad170fa0c21e59096 /init
parent4fe70410d9a219dabb47328effccae7e7f2a6e26 (diff)
parent2e572895bf3203e881356a4039ab0fa428ed2639 (diff)
Merge branch 'tracing/core-v2' into tracing-for-linus
Conflicts: include/linux/slub_def.h lib/Kconfig.debug mm/slob.c mm/slub.c
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
-rw-r--r--init/main.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 14c483d2b7c9..9d8cf2d2f840 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1005,7 +1005,7 @@ config TRACEPOINTS
1005 1005
1006config MARKERS 1006config MARKERS
1007 bool "Activate markers" 1007 bool "Activate markers"
1008 depends on TRACEPOINTS 1008 select TRACEPOINTS
1009 help 1009 help
1010 Place an empty function call at each marker site. Can be 1010 Place an empty function call at each marker site. Can be
1011 dynamically changed for a probe function. 1011 dynamically changed for a probe function.
diff --git a/init/main.c b/init/main.c
index 07c8658ffca5..3585f073d636 100644
--- a/init/main.c
+++ b/init/main.c
@@ -71,6 +71,7 @@
71#include <asm/setup.h> 71#include <asm/setup.h>
72#include <asm/sections.h> 72#include <asm/sections.h>
73#include <asm/cacheflush.h> 73#include <asm/cacheflush.h>
74#include <trace/kmemtrace.h>
74 75
75#ifdef CONFIG_X86_LOCAL_APIC 76#ifdef CONFIG_X86_LOCAL_APIC
76#include <asm/smp.h> 77#include <asm/smp.h>
@@ -648,6 +649,7 @@ asmlinkage void __init start_kernel(void)
648 enable_debug_pagealloc(); 649 enable_debug_pagealloc();
649 cpu_hotplug_init(); 650 cpu_hotplug_init();
650 kmem_cache_init(); 651 kmem_cache_init();
652 kmemtrace_init();
651 debug_objects_mem_init(); 653 debug_objects_mem_init();
652 idr_init_cache(); 654 idr_init_cache();
653 setup_per_cpu_pageset(); 655 setup_per_cpu_pageset();
@@ -769,6 +771,7 @@ static void __init do_basic_setup(void)
769{ 771{
770 rcu_init_sched(); /* needed by module_init stage. */ 772 rcu_init_sched(); /* needed by module_init stage. */
771 init_workqueues(); 773 init_workqueues();
774 cpuset_init_smp();
772 usermodehelper_init(); 775 usermodehelper_init();
773 driver_init(); 776 driver_init();
774 init_irq_proc(); 777 init_irq_proc();
@@ -863,8 +866,6 @@ static int __init kernel_init(void * unused)
863 smp_init(); 866 smp_init();
864 sched_init_smp(); 867 sched_init_smp();
865 868
866 cpuset_init_smp();
867
868 do_basic_setup(); 869 do_basic_setup();
869 870
870 /* 871 /*