[ARM] 3981/1: sched_clock for PXA2xx
authorNicolas Pitre <nico@cam.org>
Mon, 4 Dec 2006 19:42:09 +0000 (20:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 16:06:55 +0000 (16:06 +0000)
commit2dc20a51dc1e2da6eae1182cfe4c4835fca26017
tree206a73320b1d41451884f0ca5d0796af9a34c50e
parent752bee178ee107aa3dd87a9aeba970444034c6fb
[ARM] 3981/1: sched_clock for PXA2xx

Here's a 63-bit implementation of shed_clock() for PXA2xx.  The actual
period depends on the value of CLOCK_TICK_RATE and whether or not
reduced scaling factors were provided for it.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/generic.c