Linux Audio

Check our new training course

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