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

Kukjin Kim kgene.kim at samsung.com
Mon Apr 25 03:08:11 EDT 2011


Thomas Gleixner wrote:
> 
> Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

Acked-by: Kukjin Kim <kgene.kim at samsung.com>

(snip)

>  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,

As Stephen Boyd said, with fixing CLOCK_SOURCE_SCHED_CLOCK :)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list