18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_LOONGSON64_IRQ_H_ 38c2ecf20Sopenharmony_ci#define __ASM_MACH_LOONGSON64_IRQ_H_ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* cpu core interrupt numbers */ 68c2ecf20Sopenharmony_ci#define NR_IRQS_LEGACY 16 78c2ecf20Sopenharmony_ci#define NR_MIPS_CPU_IRQS 8 88c2ecf20Sopenharmony_ci#define NR_MAX_CHAINED_IRQS 40 /* Chained IRQs means those not directly used by devices */ 98c2ecf20Sopenharmony_ci#define NR_IRQS (NR_IRQS_LEGACY + NR_MIPS_CPU_IRQS + NR_MAX_CHAINED_IRQS + 256) 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define MIPS_CPU_IRQ_BASE NR_IRQS_LEGACY 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#include <asm/mach-generic/irq.h> 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */ 16