diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-07 16:11:30 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:17 -0500 |
commit | c1594b77e46124bb462f961e536120e471c67446 (patch) | |
tree | 3f52ad5809125ab5be6db1fd4b1212fe6127df66 /kernel/irq/compat.h | |
parent | 163ef3091195f514a06f064b12914597d2644c55 (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 'kernel/irq/compat.h')
-rw-r--r-- | kernel/irq/compat.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/irq/compat.h b/kernel/irq/compat.h index aac6e400e608..bc0c2a501e82 100644 --- a/kernel/irq/compat.h +++ b/kernel/irq/compat.h | |||
@@ -11,7 +11,19 @@ static inline void irq_compat_clr_progress(struct irq_desc *desc) | |||
11 | { | 11 | { |
12 | desc->status &= ~IRQ_INPROGRESS; | 12 | desc->status &= ~IRQ_INPROGRESS; |
13 | } | 13 | } |
14 | static inline void irq_compat_set_disabled(struct irq_desc *desc) | ||
15 | { | ||
16 | desc->status |= IRQ_DISABLED; | ||
17 | } | ||
18 | |||
19 | static inline void irq_compat_clr_disabled(struct irq_desc *desc) | ||
20 | { | ||
21 | desc->status &= ~IRQ_DISABLED; | ||
22 | } | ||
14 | #else | 23 | #else |
15 | static inline void irq_compat_set_progress(struct irq_desc *desc) { } | 24 | static inline void irq_compat_set_progress(struct irq_desc *desc) { } |
16 | static inline void irq_compat_clr_progress(struct irq_desc *desc) { } | 25 | static inline void irq_compat_clr_progress(struct irq_desc *desc) { } |
26 | static inline void irq_compat_set_disabled(struct irq_desc *desc) { } | ||
27 | static inline void irq_compat_clr_disabled(struct irq_desc *desc) { } | ||
17 | #endif | 28 | #endif |
29 | |||