1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef __ASM_ARM_IRQ_H
13#define __ASM_ARM_IRQ_H
14
15#include <asm/arch/irqs.h>
16
17#ifndef irq_canonicalize
18#define irq_canonicalize(i) (i)
19#endif
20
21#ifndef NR_IRQS
22#define NR_IRQS 128
23#endif
24
25#ifndef NO_IRQ
26#define NO_IRQ ((unsigned int)(-1))
27#endif
28
29struct irqaction;
30
31#define __IRQT_FALEDGE IRQ_TYPE_EDGE_FALLING
32#define __IRQT_RISEDGE IRQ_TYPE_EDGE_RISING
33#define __IRQT_LOWLVL IRQ_TYPE_LEVEL_LOW
34#define __IRQT_HIGHLVL IRQ_TYPE_LEVEL_HIGH
35
36#define IRQT_NOEDGE (0)
37#define IRQT_RISING (__IRQT_RISEDGE)
38#define IRQT_FALLING (__IRQT_FALEDGE)
39#define IRQT_BOTHEDGE (__IRQT_RISEDGE|__IRQT_FALEDGE)
40#define IRQT_LOW (__IRQT_LOWLVL)
41#define IRQT_HIGH (__IRQT_HIGHLVL)
42#define IRQT_PROBE IRQ_TYPE_PROBE
43
44#endif
45
46