summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2016-09-08 13:55:35 +0100
committerMichael Bestas <mkbestas@gmail.com>2020-04-18 03:49:07 +0300
commitc60c8253378fc8003fa244471168620bed4adeca (patch)
tree3d14c4edba27a29821f73ebaa45dc0a0042b29fe /kernel
parent50a3a819ebeaf311a55d17dc89795139117dc87c (diff)
arm64: arch_timer: simplify accessors
A while back we added {read,write}_sysreg accessors to handle accesses to system registers, without the usual boilerplate asm volatile, temporary variable, etc. This patch makes use of these in the arm64 arch timer accessors to make the code shorter and clearer. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions