irq.h 475 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3
#ifndef __ASM_ARM_IRQ_H
#define __ASM_ARM_IRQ_H

4
#include <mach/irqs.h>
L
Linus Torvalds 已提交
5 6 7 8 9

#ifndef irq_canonicalize
#define irq_canonicalize(i)	(i)
#endif

10 11
#define NR_IRQS_LEGACY	16

L
Linus Torvalds 已提交
12 13 14 15 16 17 18 19
/*
 * Use this value to indicate lack of interrupt
 * capability
 */
#ifndef NO_IRQ
#define NO_IRQ	((unsigned int)(-1))
#endif

20 21
#ifndef __ASSEMBLY__
struct irqaction;
22
struct pt_regs;
23
extern void migrate_irqs(void);
24 25 26 27

extern void asm_do_IRQ(unsigned int, struct pt_regs *);
void init_IRQ(void);

L
Linus Torvalds 已提交
28 29
#endif

30 31
#endif