aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/irq.h
diff options
context:
space:
mode:
authorChristian Ruppert <christian.ruppert@abilis.com>2013-04-11 09:19:39 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-05-07 04:13:58 -0400
commita37cdacc9bc339097a2c206aad449ca307d7fd63 (patch)
treeb92af23a10b85cf0b06deea627fba0c2dff5e0da /arch/arc/include/asm/irq.h
parentc93d8b8c781f99d578ee499d178929323ca5cbc7 (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/include/asm/irq.h')
-rw-r--r--arch/arc/include/asm/irq.h3
1 files changed, 2 insertions, 1 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