airq.h 767 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright IBM Corp. 2002, 2007
  3. * Author(s): Ingo Adlung <adlung@de.ibm.com>
  4. * Cornelia Huck <cornelia.huck@de.ibm.com>
  5. * Arnd Bergmann <arndb@de.ibm.com>
  6. * Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
  7. */
  8. #ifndef _ASM_S390_AIRQ_H
  9. #define _ASM_S390_AIRQ_H
  10. struct airq_struct {
  11. struct hlist_node list; /* Handler queueing. */
  12. void (*handler)(struct airq_struct *); /* Thin-interrupt handler */
  13. u8 *lsi_ptr; /* Local-Summary-Indicator pointer */
  14. u8 lsi_mask; /* Local-Summary-Indicator mask */
  15. u8 isc; /* Interrupt-subclass */
  16. u8 flags;
  17. };
  18. #define AIRQ_PTR_ALLOCATED 0x01
  19. int register_adapter_interrupt(struct airq_struct *airq);
  20. void unregister_adapter_interrupt(struct airq_struct *airq);
  21. #endif /* _ASM_S390_AIRQ_H */