irqreturn.h 314 B

1234567891011121314151617
  1. #ifndef _LINUX_IRQRETURN_H
  2. #define _LINUX_IRQRETURN_H
  3. /**
  4. * enum irqreturn
  5. * @IRQ_NONE interrupt was not from this device
  6. * @IRQ_HANDLED interrupt was handled by this device
  7. */
  8. enum irqreturn {
  9. IRQ_NONE,
  10. IRQ_HANDLED,
  11. };
  12. typedef enum irqreturn irqreturn_t;
  13. #define IRQ_RETVAL(x) ((x) != IRQ_NONE)
  14. #endif