aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/include/asm/irq.h3
-rw-r--r--arch/arc/kernel/irq.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arc/include/asm/irq.h b/arch/arc/include/asm/irq.h
index 4c588f9820cf..57898a17eb82 100644
--- a/arch/arc/include/asm/irq.h
+++ b/arch/arc/include/asm/irq.h
@@ -9,7 +9,8 @@
9#ifndef __ASM_ARC_IRQ_H 9#ifndef __ASM_ARC_IRQ_H
10#define __ASM_ARC_IRQ_H 10#define __ASM_ARC_IRQ_H
11 11
12#define NR_IRQS 32 12#define NR_CPU_IRQS 32 /* number of interrupt lines of ARC770 CPU */
13#define NR_IRQS 128 /* allow some CPU external IRQ handling */
13 14
14/* Platform Independent IRQs */ 15/* Platform Independent IRQs */
15#define TIMER0_IRQ 3 16#define TIMER0_IRQ 3
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)