]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm64: Use arch_timer_read_counter instead of arch_counter_get_cntvct
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 Apr 2019 15:49:03 +0000 (16:49 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 Apr 2019 15:10:01 +0000 (16:10 +0100)
commitdea86a80033f8b0fb25a805f46dde9f3b1a7c23a
treee4f6de3b7bfc1dd1ab16fdb9a1a4da03209b2862
parenteae1ddc615bef9e1a1958a4b867a0a1678049bb3
arm64: Use arch_timer_read_counter instead of arch_counter_get_cntvct

Only arch_timer_read_counter will guarantee that workarounds are
applied. So let's use this one instead of arch_counter_get_cntvct.

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>
arch/arm64/kernel/traps.c