diff options
Diffstat (limited to 'arch/s390/include/asm/irq.h')
-rw-r--r-- | arch/s390/include/asm/irq.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/s390/include/asm/irq.h b/arch/s390/include/asm/irq.h index ba6d85f88d50..acee1806f61e 100644 --- a/arch/s390/include/asm/irq.h +++ b/arch/s390/include/asm/irq.h | |||
@@ -34,7 +34,12 @@ enum interruption_class { | |||
34 | NR_IRQS, | 34 | NR_IRQS, |
35 | }; | 35 | }; |
36 | 36 | ||
37 | typedef void (*ext_int_handler_t)(unsigned int, unsigned int, unsigned long); | 37 | struct ext_code { |
38 | unsigned short subcode; | ||
39 | unsigned short code; | ||
40 | }; | ||
41 | |||
42 | typedef void (*ext_int_handler_t)(struct ext_code, unsigned int, unsigned long); | ||
38 | 43 | ||
39 | int register_external_interrupt(u16 code, ext_int_handler_t handler); | 44 | int register_external_interrupt(u16 code, ext_int_handler_t handler); |
40 | int unregister_external_interrupt(u16 code, ext_int_handler_t handler); | 45 | int unregister_external_interrupt(u16 code, ext_int_handler_t handler); |