davinci: Implement sched_clock()
authorAndreas Gaeer <Andreas.Gaer@baslerweb.com>
Wed, 6 Oct 2010 08:38:55 +0000 (10:38 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 10 Dec 2010 15:33:49 +0000 (07:33 -0800)
commit6d1c57c84cc474a0fa63aadaa260b13dc5c7d68b
tree5ce151dd60a963883ff738132e30c9adf590030c
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
davinci: Implement sched_clock()

Overwrite the default implementation of sched_clock that is based on
jiffies by something more precise. This improves timestamps in ftrace.
Implementation is copied from OMAP platform code.

Signed-off-by: Andreas Gaeer <Andreas.Gaer@baslerweb.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/time.c