|
@@ -251,8 +251,6 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
|
|
struct mm_struct *mm = &init_mm;
|
|
struct mm_struct *mm = &init_mm;
|
|
unsigned int cpu = smp_processor_id();
|
|
unsigned int cpu = smp_processor_id();
|
|
|
|
|
|
- printk("CPU%u: Booted secondary processor\n", cpu);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* All kernel threads share the same mm context; grab a
|
|
* All kernel threads share the same mm context; grab a
|
|
* reference and switch to it.
|
|
* reference and switch to it.
|
|
@@ -264,6 +262,8 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
|
|
enter_lazy_tlb(mm, current);
|
|
enter_lazy_tlb(mm, current);
|
|
local_flush_tlb_all();
|
|
local_flush_tlb_all();
|
|
|
|
|
|
|
|
+ printk("CPU%u: Booted secondary processor\n", cpu);
|
|
|
|
+
|
|
cpu_init();
|
|
cpu_init();
|
|
preempt_disable();
|
|
preempt_disable();
|
|
trace_hardirqs_off();
|
|
trace_hardirqs_off();
|