[RFC PATCH] arm: move timer init to late_timer_init

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon May 2 18:15:22 EDT 2011


On 23:22 Mon 02 May     , Russell King - ARM Linux wrote:
> On Mon, May 02, 2011 at 10:42:20PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > and add global early device init
> > this will init earlytimer and will try to probe 1 or 2 timers for clockevents
> > and clocksource
> 
> Why should this change the positioning of sched_clock initialization
> too?
> 
> You know, to spend time sorting out the sched_clock crap that platform
> people came up with, to get sched_clock working at the right point in
> the init sequence so that everything is happy, and then to have all
> that work undone one kernel version later... well, why did I even bother.
so is it ok to put the early init in time_init for you?

this the key point here

remove the sys_timer struct and switch to early device

Best Regards,
J.



More information about the linux-arm-kernel mailing list