]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/s390/include/asm/airq.h
Merge tag 'omap-for-v3.11/fixes-for-merge-window' of git://git.kernel.org/pub/scm...
[karo-tx-linux.git] / arch / s390 / include / asm / airq.h
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
9 #ifndef _ASM_S390_AIRQ_H
10 #define _ASM_S390_AIRQ_H
11
12 struct airq_struct {
13         struct hlist_node list;         /* Handler queueing. */
14         void (*handler)(struct airq_struct *);  /* Thin-interrupt handler */
15         u8 *lsi_ptr;                    /* Local-Summary-Indicator pointer */
16         u8 lsi_mask;                    /* Local-Summary-Indicator mask */
17         u8 isc;                         /* Interrupt-subclass */
18         u8 flags;
19 };
20
21 #define AIRQ_PTR_ALLOCATED      0x01
22
23 int register_adapter_interrupt(struct airq_struct *airq);
24 void unregister_adapter_interrupt(struct airq_struct *airq);
25
26 #endif /* _ASM_S390_AIRQ_H */