arm64: arch_timer: Save cntkctl_el1 as a per-cpu variable
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 4 Apr 2017 16:05:16 +0000 (17:05 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:09 +0000 (11:22 +0100)
commitbee67c53a990452c4f3c7a0e9cebfecb5acfbde3
tree914ae967997294a833ccb2a7533eab045edf1eee
parent992dd16f6528bd3f378dbcda43688d374be02943
arm64: arch_timer: Save cntkctl_el1 as a per-cpu variable

As we're about to allow per CPU cntkctl_el1 configuration, we cannot
rely on the register value to be common when performing power
management.

Let's turn saved_cntkctl into a per-cpu variable.

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