From a37cdacc9bc339097a2c206aad449ca307d7fd63 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Thu, 11 Apr 2013 15:19:39 +0200 Subject: ARC: Prepare interrupt code for external controllers This patch adds some room for CPU-external interrupt controllers in the Linux interrupt space. Until now, only the 32 CPU internal interrupt lines were supported which does not allow for external interrupt controllers such as GPIO modules etc. Signed-off-by: Christian Ruppert Signed-off-by: Pierrick Hascoet Signed-off-by: Vineet Gupta --- arch/arc/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arc/kernel/irq.c') diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c index dd4b7e32ad4f..8115fa531575 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c @@ -105,7 +105,7 @@ init_onchip_IRQ(struct device_node *intc, struct device_node *parent) if (parent) panic("DeviceTree incore intc not a root irq controller\n"); - root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0, + root_domain = irq_domain_add_legacy(intc, NR_CPU_IRQS, 0, 0, &arc_intc_domain_ops, NULL); if (!root_domain) -- cgit v1.2.3