summaryrefslogtreecommitdiff
path: root/arch/cris/include
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-08-03 21:19:19 +0300
committerJesper Nilsson <jespern@axis.com>2015-11-02 22:03:04 +0300
commitdf90c338087fdec88727a025a8d6400ecb7fe4bd (patch)
tree8ed6fd322e5ab1fd4df1ec239aad1f87eb8bf3b1 /arch/cris/include
parentc33fe4444395a6972b30cb91676d04af2a3dc1a5 (diff)
downloadlinux-df90c338087fdec88727a025a8d6400ecb7fe4bd.tar.xz
CRIS v32: increase NR_IRQS
Increase NR_IQRS so we can fit in GPIO interrupts. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jespern@axis.com>
Diffstat (limited to 'arch/cris/include')
-rw-r--r--arch/cris/include/arch-v32/arch/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/include/arch-v32/arch/irq.h b/arch/cris/include/arch-v32/arch/irq.h
index 0c1b4d3a34e7..8270a1bbfdb6 100644
--- a/arch/cris/include/arch-v32/arch/irq.h
+++ b/arch/cris/include/arch-v32/arch/irq.h
@@ -4,7 +4,7 @@
#include <hwregs/intr_vect.h>
/* Number of non-cpu interrupts. */
-#define NR_IRQS NBR_INTR_VECT /* Exceptions + IRQs */
+#define NR_IRQS (NBR_INTR_VECT + 256) /* Exceptions + IRQs */
#define FIRST_IRQ 0x31 /* Exception number for first IRQ */
#define NR_REAL_IRQS (NBR_INTR_VECT - FIRST_IRQ) /* IRQs */
#if NR_REAL_IRQS > 32