X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fhead_64.S;h=cc3a81852e4acbe759e3d156722ac9959a2ad1d7;hb=4589f199eb68afd462bd792f730c7936fe3dafb5;hp=cd54313706a2882181dddf2108909961202f7a57;hpb=4461438a8405e800f90e0e40409e5f3d07eed381;p=linux-2.6-microblaze.git diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index cd54313706a2..cc3a81852e4a 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S @@ -477,7 +477,7 @@ SYM_CODE_START(soft_restart_cpu) UNWIND_HINT_END_OF_STACK /* Find the idle task stack */ - movq PER_CPU_VAR(pcpu_hot) + X86_current_task, %rcx + movq PER_CPU_VAR(pcpu_hot + X86_current_task), %rcx movq TASK_threadsp(%rcx), %rsp jmp .Ljump_to_C_code