162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __ASM_MACH_LOONGSON64_IRQ_H_ 362306a36Sopenharmony_ci#define __ASM_MACH_LOONGSON64_IRQ_H_ 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* cpu core interrupt numbers */ 662306a36Sopenharmony_ci#define NR_IRQS_LEGACY 16 762306a36Sopenharmony_ci#define NR_MIPS_CPU_IRQS 8 862306a36Sopenharmony_ci#define NR_MAX_CHAINED_IRQS 40 /* Chained IRQs means those not directly used by devices */ 962306a36Sopenharmony_ci#define NR_IRQS (NR_IRQS_LEGACY + NR_MIPS_CPU_IRQS + NR_MAX_CHAINED_IRQS + 256) 1062306a36Sopenharmony_ci#define MAX_IO_PICS 1 1162306a36Sopenharmony_ci#define MIPS_CPU_IRQ_BASE NR_IRQS_LEGACY 1262306a36Sopenharmony_ci#define GSI_MIN_CPU_IRQ 0 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#include <asm/mach-generic/irq.h> 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci#endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */ 17