diff options
Diffstat (limited to 'arch/sparc/kernel/sun4d_smp.c')
-rw-r--r-- | arch/sparc/kernel/sun4d_smp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c index 540b2fec09f0..4c11030dc1e8 100644 --- a/arch/sparc/kernel/sun4d_smp.c +++ b/arch/sparc/kernel/sun4d_smp.c | |||
@@ -127,18 +127,14 @@ void __init smp4d_boot_cpus(void) | |||
127 | local_flush_cache_all(); | 127 | local_flush_cache_all(); |
128 | } | 128 | } |
129 | 129 | ||
130 | int __cpuinit smp4d_boot_one_cpu(int i) | 130 | int __cpuinit smp4d_boot_one_cpu(int i, struct task_struct *idle) |
131 | { | 131 | { |
132 | unsigned long *entry = &sun4d_cpu_startup; | 132 | unsigned long *entry = &sun4d_cpu_startup; |
133 | struct task_struct *p; | ||
134 | int timeout; | 133 | int timeout; |
135 | int cpu_node; | 134 | int cpu_node; |
136 | 135 | ||
137 | cpu_find_by_instance(i, &cpu_node, NULL); | 136 | cpu_find_by_instance(i, &cpu_node, NULL); |
138 | /* Cook up an idler for this guy. */ | 137 | current_set[i] = task_thread_info(idle); |
139 | p = fork_idle(i); | ||
140 | current_set[i] = task_thread_info(p); | ||
141 | |||
142 | /* | 138 | /* |
143 | * Initialize the contexts table | 139 | * Initialize the contexts table |
144 | * Since the call to prom_startcpu() trashes the structure, | 140 | * Since the call to prom_startcpu() trashes the structure, |