Venkatesh Pallipadi writes: (Summary) 48 +++++++++++++++++++++++++++++
3 files changed, 59 insertions(+), 64 deletions(-)
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 66d250c..cc714b1 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -75,20 +75,8 @@ /* State of each CPU */ DEFINE_PER_CPU(int, cpu_state) = { 0 }; - struct create_idle c_idle = { - .cpu = cpu, - .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done), - }; - */ - if (c_idle.idle) { - c_idle.idle->thread.sp = (unsigned long) (((struct pt_regs *) - (THREAD_SIZE + task_stack_page(c_idle.idle))) - 1);