• M
    arm64: arch_timer: simplify accessors · cd5f22d7
    Mark Rutland 提交于
    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: NMark 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: NWill Deacon <will.deacon@arm.com>
    cd5f22d7
arch_timer.h 2.6 KB