Re: cpu_up not called for boot cpu

From: Heiko Carstens
Date: Wed Jun 28 2006 - 03:54:46 EST


On Wed, Jun 28, 2006 at 01:41:03PM +1000, Keith Owens wrote:
> cpu_up() is only called for secondary cpus, not for the boot cpu. That
> means that code hooked into the cpu_chain notifier never gets called
> for the boot cpu, which prevents additional subsystems from taking
> action for the boot cpu. So how are additional subsystems meant to be
> initialised for the boot cpu?

Looks like you need to add your subsystem's call to do_pre_smp_initcalls().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/