irqchip: gic: Move some bits of GICv2 to a library-type file
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 30 Jun 2014 15:01:30 +0000 (16:01 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 07:43:49 +0000 (09:43 +0200)
commita6c2e91f8d5db557bd90a3c384995ad20d15445a
treed81afec4abbeb6f27b332d30318458424f15c988
parent1fbada54b2805be1db64ce46ccb1f94976c1067a
irqchip: gic: Move some bits of GICv2 to a library-type file

A few GICv2 low-level function are actually very useful to GICv3,
and it makes some sense to share them across the two drivers.
They end-up in their own file, with an additional parameter used
to ensure an optional synchronization (unused on GICv2).

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1404140510-5382-2-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
(cherry picked from commit d51d0af43b30dcae1ca13ea67fd717e03b37f153)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/irqchip/Makefile
drivers/irqchip/irq-gic-common.c [new file with mode: 0644]
drivers/irqchip/irq-gic-common.h [new file with mode: 0644]
drivers/irqchip/irq-gic.c