summaryrefslogblamecommitdiffstats
path: root/arch/s390/include/asm/s390_ext.h
blob: 080876d5f19650aa8cdcbf3d85913fe953109db8 (plain) (tree)
1
2
3
4
5
6
7
8
9
  


                                                                

   


                      

                        
                                                                             
 
                                                                       
                                                                         
 
                           
/*
 *    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);

#endif /* _S390_EXTINT_H */