summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/s390_ext.h
blob: 85b2154b899f8113ba669714403e77b8865ee521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 *    Copyright IBM Corp. 1999,2010
 *    Author(s): Holger Smolinski <Holger.Smolinski@de.ibm.com>,
 *		 Martin Schwidefsky <schwidefsky@de.ibm.com>,
 */

#ifndef _S390_EXTINT_H
#define _S390_EXTINT_H

#include <linux/types.h>

typedef void (*ext_int_handler_t)(unsigned int, unsigned int, unsigned long);

int register_external_interrupt(__u16 code, ext_int_handler_t handler);
int unregister_external_interrupt(__u16 code, ext_int_handler_t handler);
void service_subclass_irq_register(void);
void service_subclass_irq_unregister(void);

#endif /* _S390_EXTINT_H */
OpenPOWER on IntegriCloud