irq.h 679 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  4. */
  5. #ifndef __ASM_ARC_IRQ_H
  6. #define __ASM_ARC_IRQ_H
  7. /*
  8. * ARCv2 can support 240 interrupts in the core interrupts controllers and
  9. * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
  10. * configurations of boards.
  11. * This doesnt affect ARCompact, but we change it to same value
  12. */
  13. #define NR_IRQS 512
  14. /* Platform Independent IRQs */
  15. #ifdef CONFIG_ISA_ARCV2
  16. #define IPI_IRQ 19
  17. #define SOFTIRQ_IRQ 21
  18. #define FIRST_EXT_IRQ 24
  19. #endif
  20. #include <linux/interrupt.h>
  21. #include <asm-generic/irq.h>
  22. extern void arc_init_IRQ(void);
  23. #endif