diff options
-rw-r--r-- | arch/arm/kernel/smp.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 1a1c5e2b3ef9..6afaf6f73069 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -164,8 +164,12 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
164 | barrier(); | 164 | barrier(); |
165 | } | 165 | } |
166 | 166 | ||
167 | if (!cpu_online(cpu)) | 167 | if (!cpu_online(cpu)) { |
168 | pr_crit("CPU%u: failed to come online\n", cpu); | ||
168 | ret = -EIO; | 169 | ret = -EIO; |
170 | } | ||
171 | } else { | ||
172 | pr_err("CPU%u: failed to boot: %d\n", cpu, ret); | ||
169 | } | 173 | } |
170 | 174 | ||
171 | secondary_data.stack = NULL; | 175 | secondary_data.stack = NULL; |
@@ -181,14 +185,6 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
181 | 185 | ||
182 | pgd_free(&init_mm, pgd); | 186 | pgd_free(&init_mm, pgd); |
183 | 187 | ||
184 | if (ret) { | ||
185 | printk(KERN_CRIT "CPU%u: processor failed to boot\n", cpu); | ||
186 | |||
187 | /* | ||
188 | * FIXME: We need to clean up the new idle thread. --rmk | ||
189 | */ | ||
190 | } | ||
191 | |||
192 | return ret; | 188 | return ret; |
193 | } | 189 | } |
194 | 190 | ||