summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/dma.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2019-04-08 18:49:07 +0300
committerWill Deacon <will.deacon@arm.com>2019-04-30 18:12:54 +0300
commit0ea415390cd345b7d09e8c9ebd4b68adfe873043 (patch)
tree42ee44177c52347a95d17106ce1d89bc87bad7ac /arch/arm/include/asm/dma.h
parenta862fc2254bdbcee3b5da4f730984e5d8393a2f1 (diff)
downloadlinux-0ea415390cd345b7d09e8c9ebd4b68adfe873043.tar.xz
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 <mark.rutland@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include/asm/dma.h')
0 files changed, 0 insertions, 0 deletions