From: Kevin Hilman Date: Tue, 13 Nov 2007 07:24:03 +0000 (-0800) Subject: ARM: OMAP: Timer32K: Move 32k-based sched_clock() to common code X-Git-Tag: v2.6.26-rc1~1131^2~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f258b0c6fa6ca653c7f4e6e2846dbb7ed3af3446;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed