mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 03:33:01 +09:00
commitd44ffa5ae7upstream. 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> [nc: Also fix gic_write_bpr1, which was incidentally fixed in0e9884fe63("arm64: sysreg: subsume GICv3 sysreg definitions")] Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>