irqchip/gic-v3: Convert arm64 GIC accessors to {read,write}_sysreg_s
authorWill Deacon <will.deacon@arm.com>
Fri, 28 Oct 2016 11:23:57 +0000 (12:23 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 Nov 2016 09:14:48 +0000 (09:14 +0000)
commitd44ffa5ae70a15a15190aa9ffa6f6acdeae1d25c
tree598f42ebc7e9175f94c6b26c4b0d6073ad93280b
parent4e201566402c878a225d4425df8a4a664c6f251e
irqchip/gic-v3: Convert arm64 GIC accessors to {read,write}_sysreg_s

The GIC system registers are accessed using open-coded wrappers around
the mrs_s/msr_s asm macros.

This patch moves the code over to the {read,wrote}_sysreg_s accessors
instead, reducing the amount of explicit asm blocks in the arch headers.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/arch_gicv3.h