diff options
author | Christian Ruppert <christian.ruppert@abilis.com> | 2013-04-11 09:19:39 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-05-07 04:13:58 -0400 |
commit | a37cdacc9bc339097a2c206aad449ca307d7fd63 (patch) | |
tree | b92af23a10b85cf0b06deea627fba0c2dff5e0da /arch/arc/kernel | |
parent | c93d8b8c781f99d578ee499d178929323ca5cbc7 (diff) |
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 <christian.ruppert@abilis.com>
Signed-off-by: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
105 | if (parent) | 105 | if (parent) |
106 | panic("DeviceTree incore intc not a root irq controller\n"); | 106 | panic("DeviceTree incore intc not a root irq controller\n"); |
107 | 107 | ||
108 | root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0, | 108 | root_domain = irq_domain_add_legacy(intc, NR_CPU_IRQS, 0, 0, |
109 | &arc_intc_domain_ops, NULL); | 109 | &arc_intc_domain_ops, NULL); |
110 | 110 | ||
111 | if (!root_domain) | 111 | if (!root_domain) |