aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2011-09-06 08:27:10 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2011-11-15 13:14:02 -0500
commit08d33b27f7063ba2b4a29f9e3a2dcb65f30dec0b (patch)
treee338de68f8b56238b91d9979857be253310f0200 /arch/arm/common
parentab65be268adaae59da5b1306b425a7859f955669 (diff)
ARM: GIC: Make MULTI_IRQ_HANDLER mandatory
Now that MULTI_IRQ_HANDLER is selected by all the in-tree GIC users, make it mandatory and remove the unused macros. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/common')
-rw-r--r--arch/arm/common/Kconfig1
-rw-r--r--arch/arm/common/gic.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/common/Kconfig b/arch/arm/common/Kconfig
index a3beda1213da..a11cee523cd4 100644
--- a/arch/arm/common/Kconfig
+++ b/arch/arm/common/Kconfig
@@ -1,5 +1,6 @@
1config ARM_GIC 1config ARM_GIC
2 select IRQ_DOMAIN 2 select IRQ_DOMAIN
3 select MULTI_IRQ_HANDLER
3 bool 4 bool
4 5
5config GIC_NON_BANKED 6config GIC_NON_BANKED
diff --git a/arch/arm/common/gic.c b/arch/arm/common/gic.c
index 3c78b7c60691..a1feb6b4f9f5 100644
--- a/arch/arm/common/gic.c
+++ b/arch/arm/common/gic.c
@@ -71,9 +71,6 @@ struct gic_chip_data {
71 71
72static DEFINE_RAW_SPINLOCK(irq_controller_lock); 72static DEFINE_RAW_SPINLOCK(irq_controller_lock);
73 73
74/* Address of GIC 0 CPU interface */
75void __iomem *gic_cpu_base_addr __read_mostly;
76
77/* 74/*
78 * Supported arch specific GIC irq extension. 75 * Supported arch specific GIC irq extension.
79 * Default make them NULL. 76 * Default make them NULL.
@@ -700,7 +697,6 @@ void __init gic_init_bases(unsigned int gic_nr, int irq_start,
700 * For secondary GICs, skip over PPIs, too. 697 * For secondary GICs, skip over PPIs, too.
701 */ 698 */
702 if (gic_nr == 0) { 699 if (gic_nr == 0) {
703 gic_cpu_base_addr = cpu_base;
704 domain->hwirq_base = 16; 700 domain->hwirq_base = 16;
705 if (irq_start > 0) 701 if (irq_start > 0)
706 irq_start = (irq_start & ~31) + 16; 702 irq_start = (irq_start & ~31) + 16;