Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IRQ_H |
2 | #define _ASM_IRQ_H | ||||
3 | |||||
4 | #include <asm/arch/irq.h> | ||||
5 | |||||
6 | extern __inline__ int irq_canonicalize(int irq) | ||||
7 | { | ||||
8 | return irq; | ||||
9 | } | ||||
10 | |||||
11 | extern void disable_irq(unsigned int); | ||||
12 | extern void enable_irq(unsigned int); | ||||
13 | |||||
14 | #define disable_irq_nosync disable_irq | ||||
15 | #define enable_irq_nosync enable_irq | ||||
16 | |||||
17 | struct irqaction; | ||||
18 | struct pt_regs; | ||||
19 | int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); | ||||
20 | |||||
21 | #endif /* _ASM_IRQ_H */ | ||||
22 | |||||
23 |