blob: aac6e400e608abc67958a06a0406a4fc35359e35 [file] [log] [blame]
Thomas Gleixner009b4c32011-02-07 21:48:49 +01001/*
2 * Compat layer for transition period
3 */
4#ifndef CONFIG_GENERIC_HARDIRQS_NO_COMPAT
5static inline void irq_compat_set_progress(struct irq_desc *desc)
6{
7 desc->status |= IRQ_INPROGRESS;
8}
9
10static inline void irq_compat_clr_progress(struct irq_desc *desc)
11{
12 desc->status &= ~IRQ_INPROGRESS;
13}
14#else
15static inline void irq_compat_set_progress(struct irq_desc *desc) { }
16static inline void irq_compat_clr_progress(struct irq_desc *desc) { }
17#endif