diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-09-30 11:48:01 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-10-09 22:16:52 +0100 |
commit | 7cabd0086acd8f204d9b11a9b0aca90d6a9fcc5b (patch) | |
tree | 074a43d5bd64bfdb86d9682953b292c625408813 /drivers/irqchip/Kconfig | |
parent | d271976dbb31c3ac5653745d03d68c4235d34119 (diff) | |
download | op-kernel-dev-7cabd0086acd8f204d9b11a9b0aca90d6a9fcc5b.zip op-kernel-dev-7cabd0086acd8f204d9b11a9b0aca90d6a9fcc5b.tar.gz |
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>
Diffstat (limited to 'drivers/irqchip/Kconfig')
0 files changed, 0 insertions, 0 deletions