![]() | |||||||||||||
Messages in this thread |
On Tue, Mar 21, 2006 at 09:08:05AM +0800, Shaohua Li wrote: > > + > > +#ifdef CONFIG_HOTPLUG_CPU > > + /* > > + * We do warm boot only on cpus that had booted earlier > > + * Otherwise cold boot is all handled from smp_boot_cpus(). > > + * cpu_callin_map is set during AP kickstart process. Its reset > > + * when a cpu is taken offline from cpu_exit_clear(). > > + */ > > + if (!cpu_isset(cpu, cpu_callin_map)) > > + ret = __smp_prepare_cpu(cpu); > Does this work for boot time? cpu_callin_map isn't set at boot time for > APs. > Yes, I tested on a 2 way system and it booted fine. This is set durng the kickstart process when smp_callin() is called after AP receives boot ipi. -- Cheers, Ashok Raj - Open Source Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-03-21 02:28 [from the cache] ©2003-2008 | |||||||||||||