arm64/perf: Access pmu register using <read/write>_sys_reg
authorAshok Kumar <ashoks@broadcom.com>
Thu, 21 Apr 2016 12:58:43 +0000 (05:58 -0700)
committerWill Deacon <will.deacon@arm.com>
Mon, 25 Apr 2016 13:11:06 +0000 (14:11 +0100)
commitbf2d4782e7500b6e3e6f606b17b596751bc14013
treea9de4017c5883c337dd5c4675465cbcbfc24a6cd
parent0893f74545e615eda796c8d443cafee1959f3a73
arm64/perf: Access pmu register using <read/write>_sys_reg

changed pmu register access to make use of <read/write>_sys_reg
from sysreg.h instead of accessing them directly.

Signed-off-by: Ashok Kumar <ashoks@broadcom.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c