aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-07 16:11:30 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:17 -0500
commitc1594b77e46124bb462f961e536120e471c67446 (patch)
tree3f52ad5809125ab5be6db1fd4b1212fe6127df66 /include/linux/irq.h
parent163ef3091195f514a06f064b12914597d2644c55 (diff)
genirq: Move IRQ_DISABLED to core
Keep status in sync until all abusers are fixed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index c38dbd506656..32efca71ce88 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -55,9 +55,9 @@ typedef void (*irq_flow_handler_t)(unsigned int irq,
55#define IRQ_INPROGRESS 0x00000100 /* DEPRECATED */ 55#define IRQ_INPROGRESS 0x00000100 /* DEPRECATED */
56#define IRQ_REPLAY 0x00000200 /* DEPRECATED */ 56#define IRQ_REPLAY 0x00000200 /* DEPRECATED */
57#define IRQ_WAITING 0x00000400 /* DEPRECATED */ 57#define IRQ_WAITING 0x00000400 /* DEPRECATED */
58#define IRQ_DISABLED 0x00000800 /* DEPRECATED */
58#endif 59#endif
59 60
60#define IRQ_DISABLED 0x00000800 /* IRQ disabled - do not enter! */
61#define IRQ_PENDING 0x00001000 /* IRQ pending - replay on enable */ 61#define IRQ_PENDING 0x00001000 /* IRQ pending - replay on enable */
62 62
63#define IRQ_LEVEL 0x00004000 /* IRQ level triggered */ 63#define IRQ_LEVEL 0x00004000 /* IRQ level triggered */
@@ -231,7 +231,7 @@ struct irq_chip {
231# define ARCH_IRQ_INIT_FLAGS 0 231# define ARCH_IRQ_INIT_FLAGS 0
232#endif 232#endif
233 233
234#define IRQ_DEFAULT_INIT_FLAGS (IRQ_DISABLED | ARCH_IRQ_INIT_FLAGS) 234#define IRQ_DEFAULT_INIT_FLAGS ARCH_IRQ_INIT_FLAGS
235 235
236struct irqaction; 236struct irqaction;
237extern int setup_irq(unsigned int irq, struct irqaction *new); 237extern int setup_irq(unsigned int irq, struct irqaction *new);