irq.h 544 B

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