[PATCH] ARM: move read_{boot, persistent}_clock to the architecture level

Stephen Warren swarren at wwwdotorg.org
Tue May 1 14:11:55 EDT 2012


On 04/28/2012 06:45 AM, Marc Zyngier wrote:
> 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.
> 
> Compile tested only.
> 
> Reported-by: Jeff Ohlstein <johlstei at codeaurora.org>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> Cc: Tony Lindgren <tony at atomide.com>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>

Tested-by: Stephen Warren <swarren at wwwdotorg.org>

I'm not sure exactly how to fully exercise this, but Tegra still boots
without issue or obvious error messages with this patch applied.



More information about the linux-arm-kernel mailing list