14baa9922SRussell King #ifndef __ASM_ARM_IRQ_H 24baa9922SRussell King #define __ASM_ARM_IRQ_H 34baa9922SRussell King 4*a09e64fbSRussell King #include <mach/irqs.h> 54baa9922SRussell King 64baa9922SRussell King #ifndef irq_canonicalize 74baa9922SRussell King #define irq_canonicalize(i) (i) 84baa9922SRussell King #endif 94baa9922SRussell King 104baa9922SRussell King #ifndef NR_IRQS 114baa9922SRussell King #define NR_IRQS 128 124baa9922SRussell King #endif 134baa9922SRussell King 144baa9922SRussell King /* 154baa9922SRussell King * Use this value to indicate lack of interrupt 164baa9922SRussell King * capability 174baa9922SRussell King */ 184baa9922SRussell King #ifndef NO_IRQ 194baa9922SRussell King #define NO_IRQ ((unsigned int)(-1)) 204baa9922SRussell King #endif 214baa9922SRussell King 224baa9922SRussell King #ifndef __ASSEMBLY__ 234baa9922SRussell King struct irqaction; 244baa9922SRussell King extern void migrate_irqs(void); 254baa9922SRussell King #endif 264baa9922SRussell King 274baa9922SRussell King #endif 284baa9922SRussell King 29