commit | 7cabd0086acd8f204d9b11a9b0aca90d6a9fcc5b | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Wed Sep 30 11:48:01 2015 +0100 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Fri Oct 09 22:16:52 2015 +0100 |
tree | 074a43d5bd64bfdb86d9682953b292c625408813 | |
parent | d271976dbb31c3ac5653745d03d68c4235d34119 [diff] |
irqchip/gic-v3: Make gic_enable_sre an inline function In order for gic_enable_sre to be used by the arm64 core code, move it to arm-gic-v3.h. As a bonus, we now also check if system registers have been already enabled, and return early if they have. In all cases, the function now returns a boolean indicating if the enabling has been successful. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>