]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Move 32k-based sched_clock() to common code
authorKevin Hilman <khilman@mvista.com>
Mon, 12 Nov 2007 23:24:03 +0000 (15:24 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Nov 2007 19:12:44 +0000 (11:12 -0800)
commit6e0d7b9283a5b91bf2c2adc7801e426fd563bc13
treecb884dec48aedf552ca6cd19b5c52e847f8188cf
parent70a5d71a0e94b38138ad45fb27fb0ed253a299f7
ARM: OMAP: 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>
arch/arm/plat-omap/common.c
arch/arm/plat-omap/timer32k.c