Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / s390 / include / asm / irq.h
blobba6d85f88d50018798b95c697ed5cf75d67b0183
1 #ifndef _ASM_IRQ_H
2 #define _ASM_IRQ_H
4 #include <linux/hardirq.h>
5 #include <linux/types.h>
7 enum interruption_class {
8 EXTERNAL_INTERRUPT,
9 IO_INTERRUPT,
10 EXTINT_CLK,
11 EXTINT_EXC,
12 EXTINT_EMS,
13 EXTINT_TMR,
14 EXTINT_TLA,
15 EXTINT_PFL,
16 EXTINT_DSD,
17 EXTINT_VRT,
18 EXTINT_SCP,
19 EXTINT_IUC,
20 EXTINT_CPM,
21 IOINT_CIO,
22 IOINT_QAI,
23 IOINT_DAS,
24 IOINT_C15,
25 IOINT_C70,
26 IOINT_TAP,
27 IOINT_VMR,
28 IOINT_LCS,
29 IOINT_CLW,
30 IOINT_CTC,
31 IOINT_APB,
32 IOINT_CSC,
33 NMI_NMI,
34 NR_IRQS,
37 typedef void (*ext_int_handler_t)(unsigned int, unsigned int, unsigned long);
39 int register_external_interrupt(u16 code, ext_int_handler_t handler);
40 int unregister_external_interrupt(u16 code, ext_int_handler_t handler);
41 void service_subclass_irq_register(void);
42 void service_subclass_irq_unregister(void);
44 #endif /* _ASM_IRQ_H */