5 * include/asm-s390/s390_ext.h
8 * Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
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
);
18 * Warning: if you change ext_int_info_t you have to change the
19 * external interrupt handler in entry.S too.
21 typedef struct ext_int_info_t
{
22 struct ext_int_info_t
*next
;
23 ext_int_handler_t handler
;
25 } __attribute__ ((packed
)) ext_int_info_t
;
27 extern ext_int_info_t
*ext_int_hash
[];
29 int register_external_interrupt(__u16 code
, ext_int_handler_t handler
);
30 int register_early_external_interrupt(__u16 code
, ext_int_handler_t handler
,
31 ext_int_info_t
*info
);
32 int unregister_external_interrupt(__u16 code
, ext_int_handler_t handler
);
33 int unregister_early_external_interrupt(__u16 code
, ext_int_handler_t handler
,
34 ext_int_info_t
*info
);