aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
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 90e884bb5216..09c79537ae09 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1007,7 +1007,7 @@ config TRACEPOINTS
1007 1007
1008config MARKERS 1008config MARKERS
1009 bool "Activate markers" 1009 bool "Activate markers"
1010 depends on TRACEPOINTS 1010 select TRACEPOINTS
1011 help 1011 help
1012 Place an empty function call at each marker site. Can be 1012 Place an empty function call at each marker site. Can be
1013 dynamically changed for a probe function. 1013 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 /*