irq.h 475 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __ASM_ARM_IRQ_H
  2. #define __ASM_ARM_IRQ_H
  3. #include <mach/irqs.h>
  4. #ifndef irq_canonicalize
  5. #define irq_canonicalize(i) (i)
  6. #endif
  7. #define NR_IRQS_LEGACY 16
  8. /*
  9. * Use this value to indicate lack of interrupt
  10. * capability
  11. */
  12. #ifndef NO_IRQ
  13. #define NO_IRQ ((unsigned int)(-1))
  14. #endif
  15. #ifndef __ASSEMBLY__
  16. struct irqaction;
  17. struct pt_regs;
  18. extern void migrate_irqs(void);
  19. extern void asm_do_IRQ(unsigned int, struct pt_regs *);
  20. void init_IRQ(void);
  21. #endif
  22. #endif