diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-01-19 14:45:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:49 -0500 |
commit | f3dec78333d6369161eb833dbd8c8f006f359fdf (patch) | |
tree | 1e77ad2e38e517f9a74a8f7fa67e1d5fe9e0eb5e /arch/blackfin/mach-bf537/include/mach/irq.h | |
parent | 5e8d3210b5bffbe64afca9152241284a46611c7e (diff) | |
download | linux-f3dec78333d6369161eb833dbd8c8f006f359fdf.tar.gz linux-f3dec78333d6369161eb833dbd8c8f006f359fdf.tar.bz2 linux-f3dec78333d6369161eb833dbd8c8f006f359fdf.zip |
Blackfin: increase NR_IRQS beyond NR on-chip IRQs
This makes room for off-chip IRQ controllers.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537/include/mach/irq.h')
-rw-r--r-- | arch/blackfin/mach-bf537/include/mach/irq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf537/include/mach/irq.h b/arch/blackfin/mach-bf537/include/mach/irq.h index 0defa9457e7f..9b2cbcac98e0 100644 --- a/arch/blackfin/mach-bf537/include/mach/irq.h +++ b/arch/blackfin/mach-bf537/include/mach/irq.h @@ -134,7 +134,8 @@ #define GPIO_IRQ_BASE IRQ_PF0 -#define NR_IRQS (IRQ_PH15+1) +#define NR_MACH_IRQS (IRQ_PH15 + 1) +#define NR_IRQS (NR_MACH_IRQS + NR_SPARE_IRQS) #define IVG7 7 #define IVG8 8 |