diff options
author | Tony Lindgren <tony@atomide.com> | 2011-01-18 20:00:00 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-19 13:38:46 -0500 |
commit | 4912cf04b202a9d0bdc4082ecb9247943584450d (patch) | |
tree | c22e7673e441cb03aabd894e606e1e53df16f6d1 /arch/arm/plat-omap/include/plat | |
parent | 05b5ca9b100300c8b98429962071aa66c5d2460e (diff) |
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>
Diffstat (limited to 'arch/arm/plat-omap/include/plat')
-rw-r--r-- | arch/arm/plat-omap/include/plat/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/include/plat/common.h index ef683e01701b..29b2afb4288f 100644 --- a/arch/arm/plat-omap/include/plat/common.h +++ b/arch/arm/plat-omap/include/plat/common.h | |||
@@ -37,6 +37,7 @@ extern void omap_map_common_io(void); | |||
37 | extern struct sys_timer omap_timer; | 37 | extern struct sys_timer omap_timer; |
38 | extern bool omap_32k_timer_init(void); | 38 | extern bool omap_32k_timer_init(void); |
39 | extern int __init omap_init_clocksource_32k(void); | 39 | extern int __init omap_init_clocksource_32k(void); |
40 | extern unsigned long long notrace omap_32k_sched_clock(void); | ||
40 | 41 | ||
41 | extern void omap_reserve(void); | 42 | extern void omap_reserve(void); |
42 | 43 | ||