Thomas Gleixner | 009b4c3 | 2011-02-07 21:48:49 +0100 | [diff] [blame^] | 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 |