sparc: Use generic idle thread allocation
[deliverable/linux.git] / arch / sparc / kernel / leon_smp.c
index 160cac9c403654043269e0a63123ecf3ee3bd0a6..b34c93c351b67e49961f22e869ffc8587d496987 100644 (file)
@@ -204,16 +204,11 @@ void __init leon_boot_cpus(void)
 
 }
 
-int __cpuinit leon_boot_one_cpu(int i)
+int __cpuinit leon_boot_one_cpu(int i, struct task_struct *idle)
 {
-
-       struct task_struct *p;
        int timeout;
 
-       /* Cook up an idler for this guy. */
-       p = fork_idle(i);
-
-       current_set[i] = task_thread_info(p);
+       current_set[i] = task_thread_info(idle);
 
        /* See trampoline.S:leon_smp_cpu_startup for details...
         * Initialize the contexts table
This page took 0.026822 seconds and 5 git commands to generate.