]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30a21b20e959b99fbfe13926bac91cde1b6ddc42
tree86a2bddbb548333ae76a76499e44326503f92e9c
parent329703e781b61ff338578e261b8dfcd07c10433f
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