irq.h 476 B

1234567891011121314151617181920212223242526272829303132
  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. #ifndef NR_IRQS
  8. #define NR_IRQS 128
  9. #endif
  10. /*
  11. * Use this value to indicate lack of interrupt
  12. * capability
  13. */
  14. #ifndef NO_IRQ
  15. #define NO_IRQ ((unsigned int)(-1))
  16. #endif
  17. #ifndef __ASSEMBLY__
  18. struct irqaction;
  19. extern void migrate_irqs(void);
  20. extern void asm_do_IRQ(unsigned int, struct pt_regs *);
  21. void init_IRQ(void);
  22. #endif
  23. #endif