x86/xen: Fix 32-bit PV guests's usage of kernel_stack
[deliverable/linux.git] / arch / x86 / xen / smp.c
index a18eadd8bb4039a6616b2f5b31afd1c72dd68c88..7005974c3ff308a2504def1cb035d393ed82693f 100644 (file)
@@ -441,10 +441,11 @@ static int xen_cpu_up(unsigned int cpu, struct task_struct *idle)
        irq_ctx_init(cpu);
 #else
        clear_tsk_thread_flag(idle, TIF_FORK);
+#endif
        per_cpu(kernel_stack, cpu) =
                (unsigned long)task_stack_page(idle) -
                KERNEL_STACK_OFFSET + THREAD_SIZE;
-#endif
+
        xen_setup_runstate_info(cpu);
        xen_setup_timer(cpu);
        xen_init_lock_cpu(cpu);
This page took 0.034288 seconds and 5 git commands to generate.