aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/compat.h')
-rw-r--r--kernel/irq/compat.h12
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}
14static inline void irq_compat_set_disabled(struct irq_desc *desc)
15{
16 desc->status |= IRQ_DISABLED;
17}
18
19static inline void irq_compat_clr_disabled(struct irq_desc *desc)
20{
21 desc->status &= ~IRQ_DISABLED;
22}
14#else 23#else
15static inline void irq_compat_set_progress(struct irq_desc *desc) { } 24static inline void irq_compat_set_progress(struct irq_desc *desc) { }
16static inline void irq_compat_clr_progress(struct irq_desc *desc) { } 25static inline void irq_compat_clr_progress(struct irq_desc *desc) { }
26static inline void irq_compat_set_disabled(struct irq_desc *desc) { }
27static inline void irq_compat_clr_disabled(struct irq_desc *desc) { }
17#endif 28#endif
29