xref: /openbmc/linux/arch/arm/include/asm/irq.h (revision aedceb2a490bae56f9d7e80be480421e1cf22ce0)
14baa9922SRussell King #ifndef __ASM_ARM_IRQ_H
24baa9922SRussell King #define __ASM_ARM_IRQ_H
34baa9922SRussell King 
4a09e64fbSRussell 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 /*
114baa9922SRussell King  * Use this value to indicate lack of interrupt
124baa9922SRussell King  * capability
134baa9922SRussell King  */
144baa9922SRussell King #ifndef NO_IRQ
154baa9922SRussell King #define NO_IRQ	((unsigned int)(-1))
164baa9922SRussell King #endif
174baa9922SRussell King 
184baa9922SRussell King #ifndef __ASSEMBLY__
194baa9922SRussell King struct irqaction;
20*aedceb2aSviresh kumar struct pt_regs;
214baa9922SRussell King extern void migrate_irqs(void);
22446616dbSRussell King 
23446616dbSRussell King extern void asm_do_IRQ(unsigned int, struct pt_regs *);
24446616dbSRussell King void init_IRQ(void);
25446616dbSRussell King 
264baa9922SRussell King #endif
274baa9922SRussell King 
284baa9922SRussell King #endif
294baa9922SRussell King 
30