]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - kernel/irq/compat.h
genirq: Add IRQ_INPROGRESS to core
[mirror_ubuntu-zesty-kernel.git] / kernel / irq / compat.h
1 /*
2 * Compat layer for transition period
3 */
4 #ifndef CONFIG_GENERIC_HARDIRQS_NO_COMPAT
5 static inline void irq_compat_set_progress(struct irq_desc *desc)
6 {
7 desc->status |= IRQ_INPROGRESS;
8 }
9
10 static inline void irq_compat_clr_progress(struct irq_desc *desc)
11 {
12 desc->status &= ~IRQ_INPROGRESS;
13 }
14 #else
15 static inline void irq_compat_set_progress(struct irq_desc *desc) { }
16 static inline void irq_compat_clr_progress(struct irq_desc *desc) { }
17 #endif