[PATCH] Check if cpu can be onlined before calling smp_prepare_cpu()