• Mark Rutland's avatar
    arm64: dcc: simplify accessors · d0a69d9f
    Mark Rutland authored
    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 DCC accessors to make the
    code shorter and clearer.
    Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    d0a69d9f
dcc.h 1.36 KB