diff options
author | Marc Zyngier <[email protected]> | 2019-04-08 16:49:04 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-04-30 16:10:57 +0100 |
commit | 5ef19a161cfa88a59508979e2f39d3d092c1d5c0 (patch) | |
tree | 2772116c607252e543d024465bba3165caa99435 /lib | |
parent | dea86a80033f8b0fb25a805f46dde9f3b1a7c23a (diff) |
clocksource/arm_arch_timer: Direcly assign set_next_event workaround
When a given timer is affected by an erratum and requires an
alternative implementation of set_next_event, we do a rather
complicated dance to detect and call the workaround on each
set_next_event call.
This is clearly idiotic, as we can perfectly detect whether
this CPU requires a workaround while setting up the clock event
device.
This only requires the CPU-specific detection to be done a bit
earlier, and we can then safely override the set_next_event pointer
if we have a workaround associated to that CPU.
Acked-by: Mark Rutland <[email protected]>
Acked-by; Daniel Lezcano <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions