--- zzzz-none-000/linux-4.1.38/arch/mips/include/asm/mach-generic/irq.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/arch/mips/include/asm/mach-generic/irq.h 2020-11-25 10:06:48.000000000 +0000 @@ -8,6 +8,11 @@ #ifndef __ASM_MACH_GENERIC_IRQ_H #define __ASM_MACH_GENERIC_IRQ_H +#if defined(CONFIG_BCM_KF_MIPS_BCM963XX) && (defined(CONFIG_BCM96838) || defined(CONFIG_BCM96848)) +#ifndef NR_IRQS +#define NR_IRQS 256 +#endif +#endif #ifndef NR_IRQS #define NR_IRQS 128 #endif