1 /****************************************************************************
2 ****************************************************************************
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.
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)
26 #define NO_IRQ ((unsigned int)(-1))
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