diff options
author | Kevin Hilman <khilman@mvista.com> | 2007-11-12 23:24:03 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-04-14 09:57:12 -0700 |
commit | f258b0c6fa6ca653c7f4e6e2846dbb7ed3af3446 (patch) | |
tree | a5c89a4c4506ca87f99d4fd155633296302d0215 /arch/arm/mach-omap1/timer32k.c | |
parent | 5a3a388fbefac3705dfcde16c93fc81e6fd9378f (diff) |
ARM: OMAP: Timer32K: Move 32k-based sched_clock() to common code
Since 32k timer code is moving to OMAP1 specific dir, move the
32k-based sched_clock() into common code where it is based on the 32k
sync counter and can be used even when using MPU timer.
While moving, change the ticks-to-nsecs conversion to use the helper
functions provided by clocksource.h.
Also removed the unused ticks_to_usec, leaving only ticks_to_nsec.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/timer32k.c')
0 files changed, 0 insertions, 0 deletions