arm64: arch_timer: Move arch_timer_reg_read/write around
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 20 Jan 2017 18:28:32 +0000 (18:28 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:08 +0000 (11:22 +0100)
commitf4e00a1a55c7f9b08a48b57088ac5d044d5523d5
tree806bd92966616c94630c8e8705ee8106d1b77cb2
parent0064030c6fd4ca6cfab42de037b2a89445beeead
arm64: arch_timer: Move arch_timer_reg_read/write around

As we're about to move things around, let's start with the low
level read/write functions. This allows us to use these functions
in the errata handling code without having to use forward declaration
of static functions.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/clocksource/arm_arch_timer.c