aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorColin Cross <[email protected]>2010-11-17 16:20:15 -0800
committerRussell King <[email protected]>2010-12-22 22:44:42 +0000
commit684e94cbcb5add60356d124166e40feb2174f0f1 (patch)
treedfdcf2048c6ac76c8c55134d1dc5633d495c4f4a /lib/string_helpers.c
parent11e718a6535c0c7a375b24c3ad60a98b988090c8 (diff)
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 <[email protected]> Acked-by: Linus Walleij <[email protected]> Tested-by: Olof Johansson <[email protected]> Signed-off-by: Colin Cross <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions