summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/irq.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-18 10:42:26 +0100
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 18:46:15 +0100
commitdecae9d3e87b5454b3b190d8e00b063175a3a091 (patch)
treec4bff4f64a275269f856fcddef662a14aa5e6490 /arch/arc/include/asm/irq.h
parentARC: [Review] Multi-platform image #4: Isolate platform headers (diff)
downloadlinux-decae9d3e87b5454b3b190d8e00b063175a3a091.tar.xz
linux-decae9d3e87b5454b3b190d8e00b063175a3a091.zip
ARC: [Review] Multi-platform image #5: NR_IRQS defined by ARC core
For now this will suffice for all platforms, later exotic ones needs to get this from DeviceTree Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/include/asm/irq.h')
-rw-r--r--arch/arc/include/asm/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/include/asm/irq.h b/arch/arc/include/asm/irq.h
index 20aaab8971ad..4c588f9820cf 100644
--- a/arch/arc/include/asm/irq.h
+++ b/arch/arc/include/asm/irq.h
@@ -9,6 +9,8 @@
#ifndef __ASM_ARC_IRQ_H
#define __ASM_ARC_IRQ_H
+#define NR_IRQS 32
+
/* Platform Independent IRQs */
#define TIMER0_IRQ 3
#define TIMER1_IRQ 4