]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2290958e64b7fdd06ad2734ad59b7f1f8f0c7d68
treec22e7673e441cb03aabd894e606e1e53df16f6d1
parentb8613c0a397f564791a3224f34d4b5f699389982
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