]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ARC: [Review] Multi-platform image #5: NR_IRQS defined by ARC core
authorVineet Gupta <vgupta@synopsys.com>
Fri, 18 Jan 2013 09:42:26 +0000 (15:12 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 15 Feb 2013 17:46:15 +0000 (23:16 +0530)
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>
arch/arc/include/asm/irq.h
arch/arc/plat-arcfpga/include/plat/irq.h

index 20aaab8971ad91e8e6dfd81532ca180af70c042d..4c588f9820cff65435f61aebbd00d5c351d160b7 100644 (file)
@@ -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
index 6515df232f21faceebef75e96939d6dc078e320f..41e335670f60c1bc695678bb76d9141490bf3d63 100644 (file)
 #ifndef __PLAT_IRQ_H
 #define __PLAT_IRQ_H
 
-#ifdef CONFIG_SMP
-#define NR_IRQS 32
-#else
-#define NR_IRQS 16
-#endif
-
 #define UART0_IRQ      5
 #define UART1_IRQ      10
 #define UART2_IRQ      11