home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / include / asm / irq.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  476 b   |  33 lines

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