1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_MACH_LOONGSON64_IRQ_H_
3 #define __ASM_MACH_LOONGSON64_IRQ_H_
4 
5 #include <boot_param.h>
6 
7 /* cpu core interrupt numbers */
8 #define NR_IRQS_LEGACY		16
9 #define NR_MIPS_CPU_IRQS	8
10 #define NR_MAX_CHAINED_IRQS	40 /* Chained IRQs means those not directly used by devices */
11 #define NR_IRQS			(NR_IRQS_LEGACY + NR_MIPS_CPU_IRQS + NR_MAX_CHAINED_IRQS + 256)
12 
13 #define MIPS_CPU_IRQ_BASE 	NR_IRQS_LEGACY
14 
15 #include <asm/mach-generic/irq.h>
16 
17 #endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */
18