arm64: arch_timer: Move clocksource_counter and co around
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 1 Feb 2017 11:53:46 +0000 (11:53 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:09 +0000 (11:22 +0100)
commit992dd16f6528bd3f378dbcda43688d374be02943
treee4db189dec550b8a0561beac41d553c31e3d529e
parent6acc71ccac7187fc0ef85f10bd09c2058f21fab5
arm64: arch_timer: Move clocksource_counter and co around

In order to access clocksource_counter from the errata handling code,
move it (together with the related structures and functions) towards
the top of the file.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/clocksource/arm_arch_timer.c