]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4550/1: sched_clock on PXA should cope with run time clock rate selection
authorNicolas Pitre <nico@cam.org>
Fri, 17 Aug 2007 15:55:22 +0000 (16:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 20:14:35 +0000 (21:14 +0100)
commit6c3a158316598bfb165b8c83b168fa413d5ae2d8
tree25850d9461a4a3ed5bf1833a54bcde00be8af280
parente86908614f2c7fec401827e5cefd7a6ea9407f85
[ARM] 4550/1: sched_clock on PXA should cope with run time clock rate selection

The previous implementation was relying on compile time optimizations
based on a constant clock rate.  However, support for different PXA
flavors in the same kernel binary requires that the clock be selected at
run time, so here it is.

Let's move this code to a more appropriate location while at it.

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