From: Colin Cross Date: Thu, 18 Nov 2010 00:20:15 +0000 (-0800) Subject: ARM: tegra: timer: Separate clocksource and sched_clock X-Git-Tag: v2.6.38-rc1~471^2~3^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684e94cbcb5add60356d124166e40feb2174f0f1;p=pandora-kernel.git ARM: tegra: timer: Separate clocksource and sched_clock 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. Acked-by: John Stultz Acked-by: Linus Walleij Tested-by: Olof Johansson Signed-off-by: Colin Cross Signed-off-by: Russell King --- Reading git-diff-tree failed