[PATCH] m32r: task_pt_regs(), task_stack_page(), task_thread_info()
[safe/jmp/linux-2.6] / arch / m32r / kernel / smpboot.c
index b90c541..d7ec16e 100644 (file)
@@ -286,7 +286,7 @@ static void __init do_boot_cpu(int phys_id)
        /* So we see what's up   */
        printk("Booting processor %d/%d\n", phys_id, cpu_id);
        stack_start.spi = (void *)idle->thread.sp;
-       idle->thread_info->cpu = cpu_id;
+       task_thread_info(idle)->cpu = cpu_id;
 
        /*
         * Send Startup IPI