diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-07-11 02:05:34 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-07-11 02:05:34 -0400 |
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 9adc278a22ab..c1795c952bfe 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -852,6 +852,7 @@ config ARCH_OMAP | |||
852 | select HAVE_CLK | 852 | select HAVE_CLK |
853 | select ARCH_REQUIRE_GPIOLIB | 853 | select ARCH_REQUIRE_GPIOLIB |
854 | select ARCH_HAS_CPUFREQ | 854 | select ARCH_HAS_CPUFREQ |
855 | select CLKSRC_MMIO | ||
855 | select GENERIC_CLOCKEVENTS | 856 | select GENERIC_CLOCKEVENTS |
856 | select HAVE_SCHED_CLOCK | 857 | select HAVE_SCHED_CLOCK |
857 | select ARCH_HAS_HOLES_MEMORYMODEL | 858 | select ARCH_HAS_HOLES_MEMORYMODEL |