irq.h 825 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __ASM_ARC_IRQ_H
  9. #define __ASM_ARC_IRQ_H
  10. /*
  11. * ARCv2 can support 240 interrupts in the core interrupts controllers and
  12. * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
  13. * configurations of boards.
  14. * This doesnt affect ARCompact, but we change it to same value
  15. */
  16. #define NR_IRQS 512
  17. /* Platform Independent IRQs */
  18. #ifdef CONFIG_ISA_ARCV2
  19. #define IPI_IRQ 19
  20. #define SOFTIRQ_IRQ 21
  21. #define FIRST_EXT_IRQ 24
  22. #endif
  23. #include <linux/interrupt.h>
  24. #include <asm-generic/irq.h>
  25. extern void arc_init_IRQ(void);
  26. #endif