从CPUHP_OFFLINE(即 0 ) 到CPUHP_AP_ONLINE_IDLE由 boot cpu 作工作(调用函数完成),然后 bringup_cpu 等待 secondary cpu 进入到CPUHP_AP_ONLINE_IDLE。之后,给secondary cpu 执行 unparking cpuhp task, 由 secondary cpu 执行 cpuhp task ( smpboot_thread_fn->cpuhp_thread_fun 函数) 推进secondary cp...
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c index 5305ec7..79e1f87 100644 --- a/arch/arm/mach-omap2/omap-smp.c +++ b/arch/arm/mach-omap2/omap-smp.c @@ -143,9 +143,9 @@ static int omap4_boot_secondary(unsigned int cpu, struct task_...