aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2019-04-08 15:49:07 +0000
committerWill Deacon <[email protected]>2019-04-30 15:12:54 +0000
commit0ea415390cd345b7d09e8c9ebd4b68adfe873043 (patch)
tree42ee44177c52347a95d17106ce1d89bc87bad7ac /lib/test_stackinit.c
parentclocksource/arm_arch_timer: Remove use of workaround static key (diff)
downloadkernel-0ea415390cd345b7d09e8c9ebd4b68adfe873043.tar.gz
kernel-0ea415390cd345b7d09e8c9ebd4b68adfe873043.zip
clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters
Instead of always going via arch_counter_get_cntvct_stable to access the counter workaround, let's have arch_timer_read_counter point to the right method. For that, we need to track whether any CPU in the system has a workaround for the counter. This is done by having an atomic variable tracking this. Acked-by: Mark Rutland <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions