omap1: Fix sched_clock implementation when both MPU timer and 32K timer are used
authorTony Lindgren <tony@atomide.com>
Wed, 19 Jan 2011 01:00:00 +0000 (17:00 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 19 Jan 2011 18:38:46 +0000 (10:38 -0800)
commit4912cf04b202a9d0bdc4082ecb9247943584450d
treec22e7673e441cb03aabd894e606e1e53df16f6d1
parent05b5ca9b100300c8b98429962071aa66c5d2460e
omap1: Fix sched_clock implementation when both MPU timer and 32K timer are used

Earlier patches select HAVE_SCHED_CLOCK for omaps. To have working sched_clock
also for MPU timer, we need to implement it in a way where the right one gets
selected during the runtime.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/time.c
arch/arm/plat-omap/counter_32k.c
arch/arm/plat-omap/include/plat/common.h