diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-07-10 23:05:34 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-07-10 23:05:34 -0700 |
commit | 354a183f536a8edf6cb80ee3e3f393736e278810 (patch) | |
tree | 499ca3cad660ea38fdd95cc1fb50ecb16adafc07 /arch/arm/Kconfig | |
parent | 727e18b429e3badda12d1de74f492bfa363a2e94 (diff) |
Convert OMAPs 32kHz clocksource implementation to use the generic MMIO
clocksource support. This achieves several things:
1. It means we get rid of all these helper functions which frankly should
never have been necessary.
2. It means omap_readl() inside these helper functions does not appear in
ftrace output.
Another plus is that we avoid the overhead of calculating the address to
read each time, but a minus is that we use readl() which has a barrier.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
[tony@atomide.com: updated to use ioremap]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9adc278a22a..c1795c952bf 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -852,6 +852,7 @@ config ARCH_OMAP select HAVE_CLK select ARCH_REQUIRE_GPIOLIB select ARCH_HAS_CPUFREQ + select CLKSRC_MMIO select GENERIC_CLOCKEVENTS select HAVE_SCHED_CLOCK select ARCH_HAS_HOLES_MEMORYMODEL |