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)
committerJason Cooper <jason@lakedaemon.net>
Tue, 8 Jul 2014 21:49:14 +0000 (21:49 +0000)
commitd51d0af43b30dcae1ca13ea67fd717e03b37f153
tree3c5b91f4ee3428130fe7276daf2a606f44182292
parent7171511eaec5bf23fb06078f59784a3a0626b38f
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>
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