5 * include/asm-s390/s390_ext.h
8 * Copyright IBM Corp. 1999,2007
9 * Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com),
10 * Martin Schwidefsky (schwidefsky@de.ibm.com)
13 #include <linux/types.h>
15 typedef void (*ext_int_handler_t
)(__u16 code
);
17 typedef struct ext_int_info_t
{
18 struct ext_int_info_t
*next
;
19 ext_int_handler_t handler
;
23 extern ext_int_info_t
*ext_int_hash
[];
25 int register_external_interrupt(__u16 code
, ext_int_handler_t handler
);
26 int register_early_external_interrupt(__u16 code
, ext_int_handler_t handler
,
27 ext_int_info_t
*info
);
28 int unregister_external_interrupt(__u16 code
, ext_int_handler_t handler
);
29 int unregister_early_external_interrupt(__u16 code
, ext_int_handler_t handler
,
30 ext_int_info_t
*info
);