complete(info->complete);
}
-static int __cpuinit __smp_prepare_cpu(int cpu)
+static void __cpuinit __smp_prepare_cpu(int cpu)
{
DECLARE_COMPLETION_ONSTACK(done);
struct warm_boot_cpu_info info;
- int apicid, ret;
+ int apicid;
apicid = per_cpu(x86_cpu_to_apicid, cpu);
wait_for_completion(&done);
zap_low_mappings();
- ret = 0;
-exit:
- return ret;
}
#endif
{
int apicid = cpu_present_to_apicid(cpu);
unsigned long flags;
- int ret = 0;
WARN_ON(irqs_disabled());
* when a cpu is taken offline from cpu_exit_clear().
*/
if (!cpu_isset(cpu, cpu_callin_map))
- ret = __smp_prepare_cpu(cpu);
-
- if (ret)
- return -EIO;
+ __smp_prepare_cpu(cpu);
#endif
/* In case one didn't come up */