ARM: 7413/1: move read_{boot,persistent}_clock to the architecture level
At the moment, read_persistent_clock is implemented at the platform level, which makes it impossible to compile these platforms in a single kernel. Implement these two functions at the architecture level, and provide a thin registration interface for both read_boot_clock and read_persistent_clock. The two affected platforms (OMAP and Tegra) are converted at the same time. Reported-by:Jeff Ohlstein <johlstei@codeaurora.org> Tested-by:
Stephen Warren <swarren@wwwdotorg.org> Tested-by:
Tony Lindgren <tony@atomide.com> Signed-off-by:
Marc Zyngier <marc.zyngier@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
Showing
- arch/arm/include/asm/mach/time.h 5 additions, 0 deletionsarch/arm/include/asm/mach/time.h
- arch/arm/kernel/time.c 36 additions, 0 deletionsarch/arm/kernel/time.c
- arch/arm/mach-tegra/timer.c 3 additions, 2 deletionsarch/arm/mach-tegra/timer.c
- arch/arm/plat-omap/counter_32k.c 4 additions, 2 deletionsarch/arm/plat-omap/counter_32k.c
Loading
Please register or sign in to comment