aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mxc/irqs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-mxc/irqs.h')
-rw-r--r--include/asm-arm/arch-mxc/irqs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/arch-mxc/irqs.h b/include/asm-arm/arch-mxc/irqs.h
index a64e66ba4ae..b2c5205e196 100644
--- a/include/asm-arm/arch-mxc/irqs.h
+++ b/include/asm-arm/arch-mxc/irqs.h
@@ -19,7 +19,9 @@
#define MXC_GPIO_TO_IRQ(x) (MXC_GPIO_INT_BASE + x)
/* Number of normal interrupts */
-#define NR_IRQS MXC_MAX_INTS
+#define NR_IRQS (MXC_MAX_INT_LINES + \
+ MXC_MAX_GPIO_LINES + \
+ MXC_MAX_VIRTUAL_INTS)
/* Number of fast interrupts */
#define NR_FIQS MXC_MAX_INTS