[PATCH] ARM: tegra: timer: Separate clocksource and sched_clock

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Dec 13 08:51:10 EST 2010


On Wed, Nov 17, 2010 at 04:20:15PM -0800, Colin Cross wrote:
> tegra_clocksource_read should not use cnt32_to_63, wrapping is
> already handled in the clocksource code.  Move the cnt32_to_63
> into the sched_clock function, and replace the use of clocksource
> mult and shift with a multiplication by 1000 to convert us to ns.

Colin,

Mind if I pick this up into my tree - I'm doing other work with
clocksources and sched_clock() at the moment which will clash with
this patch.

Thanks.



More information about the linux-arm-kernel mailing list