diff options
Diffstat (limited to 'arch/sparc/kernel/sun4m_smp.c')
-rw-r--r-- | arch/sparc/kernel/sun4m_smp.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/sparc/kernel/sun4m_smp.c b/arch/sparc/kernel/sun4m_smp.c index 02db9a0412ce..579427359d4f 100644 --- a/arch/sparc/kernel/sun4m_smp.c +++ b/arch/sparc/kernel/sun4m_smp.c | |||
@@ -91,18 +91,15 @@ void __init smp4m_boot_cpus(void) | |||
91 | local_flush_cache_all(); | 91 | local_flush_cache_all(); |
92 | } | 92 | } |
93 | 93 | ||
94 | int __cpuinit smp4m_boot_one_cpu(int i) | 94 | int __cpuinit smp4m_boot_one_cpu(int i, struct task_struct *idle) |
95 | { | 95 | { |
96 | unsigned long *entry = &sun4m_cpu_startup; | 96 | unsigned long *entry = &sun4m_cpu_startup; |
97 | struct task_struct *p; | ||
98 | int timeout; | 97 | int timeout; |
99 | int cpu_node; | 98 | int cpu_node; |
100 | 99 | ||
101 | cpu_find_by_mid(i, &cpu_node); | 100 | cpu_find_by_mid(i, &cpu_node); |
101 | current_set[i] = task_thread_info(idle); | ||
102 | 102 | ||
103 | /* Cook up an idler for this guy. */ | ||
104 | p = fork_idle(i); | ||
105 | current_set[i] = task_thread_info(p); | ||
106 | /* See trampoline.S for details... */ | 103 | /* See trampoline.S for details... */ |
107 | entry += ((i - 1) * 3); | 104 | entry += ((i - 1) * 3); |
108 | 105 | ||