Hi Fan, On Sat, Sep 28, 2013 at 09:48:11PM +0800, cinifr wrote: > Hi Maxime, > I have test it, but I found it does not work. If using > smp_prepare_cpus, the kernenl cannot find the secondary cpus because > that smp_prepare_cpus semms not be excuted before kernel is booting > secondary cpus. So I have to use early_initcall.
At least two other platforms (sti and rockchip) do it like that. And an early_initcall is not an option. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
signature.asc
Description: Digital signature