-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[S390] extint: get rid of early code plus cleanup
Get rid of register/unregister_early_external_interrupt() and clean up the code while at it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
- Loading branch information
Heiko Carstens
authored and
Martin Schwidefsky
committed
Jan 5, 2011
1 parent
98b7998
commit b1b7509
Showing
2 changed files
with
51 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,17 @@ | ||
#ifndef _S390_EXTINT_H | ||
#define _S390_EXTINT_H | ||
|
||
/* | ||
* include/asm-s390/s390_ext.h | ||
* | ||
* S390 version | ||
* Copyright IBM Corp. 1999,2007 | ||
* Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com), | ||
* Martin Schwidefsky (schwidefsky@de.ibm.com) | ||
* 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); | ||
|
||
typedef struct ext_int_info_t { | ||
struct ext_int_info_t *next; | ||
ext_int_handler_t handler; | ||
__u16 code; | ||
} ext_int_info_t; | ||
|
||
extern ext_int_info_t *ext_int_hash[]; | ||
|
||
int register_external_interrupt(__u16 code, ext_int_handler_t handler); | ||
int register_early_external_interrupt(__u16 code, ext_int_handler_t handler, | ||
ext_int_info_t *info); | ||
int unregister_external_interrupt(__u16 code, ext_int_handler_t handler); | ||
int unregister_early_external_interrupt(__u16 code, ext_int_handler_t handler, | ||
ext_int_info_t *info); | ||
|
||
#endif | ||
#endif /* _S390_EXTINT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters