arm64: dcc: simplify accessors
authorMark Rutland <mark.rutland@arm.com>
Thu, 8 Sep 2016 12:55:36 +0000 (13:55 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 10:41:13 +0000 (11:41 +0100)
commitd0a69d9f388dcd37e9bf2d8d7d4a83b87822ffa1
tree86a2bddbb548333ae76a76499e44326503f92e9c
parentcd5f22d7967f613c49288256ce95b07eb910e2a9
arm64: dcc: 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 DCC 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: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/dcc.h