Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / platforms / android-17 / arch-arm / usr / include / asm / irq.h
blob2085a21482798255956f821e2285d311288eed7f
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
15 #include <asm/arch/irqs.h>
17 #ifndef irq_canonicalize
18 #define irq_canonicalize(i) (i)
19 #endif
21 #ifndef NR_IRQS
22 #define NR_IRQS 128
23 #endif
25 #ifndef NO_IRQ
26 #define NO_IRQ ((unsigned int)(-1))
27 #endif
29 struct irqaction;
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
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
44 #endif