[PATCH] ARM: tegra: timer: Separate clocksource and sched_clock
Colin Cross
ccross at android.com
Mon Dec 13 17:55:47 EST 2010
On Mon, Dec 13, 2010 at 5:51 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> 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.
Sure, I'll need to coordinate the Tegra tree with your tree already
because of the GIC and SMP changes.
More information about the linux-arm-kernel
mailing list