arm64: arch_timer: Get rid of erratum_workaround_set_sne
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Jan 2017 10:27:09 +0000 (10:27 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:09 +0000 (11:22 +0100)
commit8328089f0aeba39173eee3fc109b5c77efd64747
tree7f2656b49039467728b6d524fa6d7d0a56446534
parentf4e00a1a55c7f9b08a48b57088ac5d044d5523d5
arm64: arch_timer: Get rid of erratum_workaround_set_sne

Let's move the handling of workarounds affecting set_next_event
to the affected function, instead of overriding the pointers
as an afterthough. Yes, this is an extra indirection on the
erratum handling path, but the HW is busted anyway.

This will allow for some more flexibility later.

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