diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-07-11 08:05:34 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-07-11 08:05:34 +0200 |
commit | 354a183f536a8edf6cb80ee3e3f393736e278810 (patch) | |
tree | 499ca3cad660ea38fdd95cc1fb50ecb16adafc07 /arch/arm/Kconfig | |
parent | Merge branch 'peter/topic/for-tony_mach-cleanup' of git://gitorious.org/omap-... (diff) | |
download | linux-354a183f536a8edf6cb80ee3e3f393736e278810.tar.xz linux-354a183f536a8edf6cb80ee3e3f393736e278810.zip |
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 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 |