clocksource: arch_timer: Push the read/write wrappers deeper
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 18 Jul 2013 23:59:31 +0000 (16:59 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 13 Jun 2014 15:32:18 +0000 (16:32 +0100)
commitff52761adb613e1549bd9471850a6f86a420de49
treebd34fba67e33e5e366ca419be9506e079b36720d
parente66e53a5b9c08e4b4d078eed74cedb62a70885e7
clocksource: arch_timer: Push the read/write wrappers deeper

We're going to introduce support to read and write the memory
mapped timer registers in the next patch, so push the cp15
read/write functions one level deeper. This simplifies the next
patch and makes it clearer what's going on.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <Marc.Zyngier@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
(cherry picked from commit 60faddf6eb3aba16068032bdcf35e18ace4bfb21)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm/include/asm/arch_timer.h
arch/arm64/include/asm/arch_timer.h
drivers/clocksource/arm_arch_timer.c