diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-11-21 04:21:40 +0100 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-01-12 17:47:31 +0100 |
commit | 81243e444c6e9d1625073e4a3d3bc244c8a545f0 (patch) | |
tree | 533a545705d110cfa990e0ffcbc5c4c0c2abec86 /drivers/irqchip/irq-gic.c | |
parent | ARM: remove mach .handle_irq for GIC users (diff) | |
download | linux-81243e444c6e9d1625073e4a3d3bc244c8a545f0.tar.xz linux-81243e444c6e9d1625073e4a3d3bc244c8a545f0.zip |
irqchip: Move ARM GIC to drivers/irqchip
Now that we have drivers/irqchip, move GIC irqchip to drivers/irqchip. This
is necessary to share the GIC with arm and arm64.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to '')
-rw-r--r-- | drivers/irqchip/irq-gic.c (renamed from arch/arm/common/gic.c) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/common/gic.c b/drivers/irqchip/irq-gic.c index 90eebfeae039..dc511a4a0757 100644 --- a/arch/arm/common/gic.c +++ b/drivers/irqchip/irq-gic.c @@ -45,6 +45,8 @@ #include <asm/mach/irq.h> #include <asm/hardware/gic.h> +#include "irqchip.h" + union gic_base { void __iomem *common_base; void __percpu __iomem **percpu_base; @@ -814,4 +816,9 @@ int __init gic_of_init(struct device_node *node, struct device_node *parent) gic_cnt++; return 0; } +IRQCHIP_DECLARE(cortex_a15_gic, "arm,cortex-a15-gic", gic_of_init); +IRQCHIP_DECLARE(cortex_a9_gic, "arm,cortex-a9-gic", gic_of_init); +IRQCHIP_DECLARE(msm_8660_qgic, "qcom,msm-8660-qgic", gic_of_init); +IRQCHIP_DECLARE(msm_qgic2, "qcom,msm-qgic2", gic_of_init); + #endif |