compat.h 448 B

1234567891011121314151617
  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. static inline void irq_compat_clr_progress(struct irq_desc *desc)
  10. {
  11. desc->status &= ~IRQ_INPROGRESS;
  12. }
  13. #else
  14. static inline void irq_compat_set_progress(struct irq_desc *desc) { }
  15. static inline void irq_compat_clr_progress(struct irq_desc *desc) { }
  16. #endif