The value of GIC_NUM_INTRS is platform-specific. Using a default value from gic.h will result in incorrect behaviour on some systems, so require a suitable definition to be present in the platform's irq.h. Signed-off-by: Jeffrey Deans <jeffrey.deans@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7373/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
11 lines
182 B
C
11 lines
182 B
C
#ifndef __ASM_MACH_MIPS_IRQ_H
|
|
#define __ASM_MACH_MIPS_IRQ_H
|
|
|
|
#define GIC_NUM_INTRS (24 + NR_CPUS * 2)
|
|
#define NR_IRQS 256
|
|
|
|
|
|
#include_next <irq.h>
|
|
|
|
#endif /* __ASM_MACH_MIPS_IRQ_H */
|