summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-iop/time.c
diff options
context:
space:
mode:
authorColin Cross2010-11-18 01:20:15 +0100
committerRussell King2010-12-22 23:44:42 +0100
commit684e94cbcb5add60356d124166e40feb2174f0f1 (patch)
treedfdcf2048c6ac76c8c55134d1dc5633d495c4f4a /arch/arm/plat-iop/time.c
parentARM: realview/versatile: update clock source registration (diff)
downloadkernel-qcow2-linux-684e94cbcb5add60356d124166e40feb2174f0f1.tar.gz
kernel-qcow2-linux-684e94cbcb5add60356d124166e40feb2174f0f1.tar.xz
kernel-qcow2-linux-684e94cbcb5add60356d124166e40feb2174f0f1.zip
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 <johnstul@us.ibm.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Tested-by: Olof Johansson <olof@lixom.net> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-iop/time.c')
0 files changed, 0 insertions, 0 deletions