sh: modify NR_IRQS from 256 to 512
PATCH 1/1 sh: modify NR_IRQS from 256 to 512
The SH7757 has irq number more than 256. So we must modify the value of NR_IRQS.
Signed-off-by Yoshihiro Shimoda <[email protected]>
--- arch/sh/include/asm/irq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/include/asm/irq.h +1 -1
@@ -9,7 +9,7 @@* advised to cap this at the hard limit that they're interested in * through the machvec. */ -#define NR_IRQS 256 +#define NR_IRQS 512#define NR_IRQS_LEGACY 8/* Legacy external IRQ0-7 */ /*
Signature · 1 line
1.7.1