[patch 03/16] arm: s5p: Use clocksource based sched_clock

Thomas Gleixner tglx at linutronix.de
Sat Apr 23 17:41:15 EDT 2011


On Sat, 23 Apr 2011, Stephen Boyd wrote:

> On 4/23/2011 1:54 PM, Thomas Gleixner wrote:
> >  struct clocksource time_clocksource = {
> >  	.name		= "s5p_clocksource_timer",
> >  	.rating		= 250,
> >  	.read		= s5p_timer_read,
> >  	.mask		= CLOCKSOURCE_MASK(32),
> > -	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
> > +	.flags		= CLOCK_SOURCE_IS_CONTINUOUS | CLOCKS_SOURCE_SCHED_CLOCK,
> 
> Drop the extra 'S'. CLOCK_SOURCE_SCHED_CLOCK.

Indeed



More information about the linux-arm-kernel mailing list