diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/setup64.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup64.c b/arch/x86/kernel/setup64.c index 70ff07186772..151d3155ddf6 100644 --- a/arch/x86/kernel/setup64.c +++ b/arch/x86/kernel/setup64.c | |||
@@ -247,6 +247,7 @@ void __cpuinit cpu_init (void) | |||
247 | BUG(); | 247 | BUG(); |
248 | enter_lazy_tlb(&init_mm, me); | 248 | enter_lazy_tlb(&init_mm, me); |
249 | 249 | ||
250 | load_sp0(t, ¤t->thread); | ||
250 | set_tss_desc(cpu, t); | 251 | set_tss_desc(cpu, t); |
251 | load_TR_desc(); | 252 | load_TR_desc(); |
252 | load_LDT(&init_mm.context); | 253 | load_LDT(&init_mm.context); |
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 67af727f733a..3b48d1f4c7c3 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -864,7 +864,6 @@ do_rest: | |||
864 | irq_ctx_init(cpu); | 864 | irq_ctx_init(cpu); |
865 | #else | 865 | #else |
866 | cpu_pda(cpu)->pcurrent = c_idle.idle; | 866 | cpu_pda(cpu)->pcurrent = c_idle.idle; |
867 | load_sp0(&per_cpu(init_tss, cpu), &c_idle.idle->thread); | ||
868 | clear_tsk_thread_flag(c_idle.idle, TIF_FORK); | 867 | clear_tsk_thread_flag(c_idle.idle, TIF_FORK); |
869 | #endif | 868 | #endif |
870 | early_gdt_descr.address = (unsigned long)get_cpu_gdt_table(cpu); | 869 | early_gdt_descr.address = (unsigned long)get_cpu_gdt_table(cpu); |