mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
da7c5af828
Enhance the adapter interruption API so that device drivers can register a handler for a specific interruption subclass. This will allow different device drivers to move to differently prioritized subclasses in order to avoid congestion. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
20 lines
530 B
C
20 lines
530 B
C
/*
|
|
* include/asm-s390/airq.h
|
|
*
|
|
* Copyright IBM Corp. 2002,2007
|
|
* Author(s): Ingo Adlung <adlung@de.ibm.com>
|
|
* Cornelia Huck <cornelia.huck@de.ibm.com>
|
|
* Arnd Bergmann <arndb@de.ibm.com>
|
|
* Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
|
|
*/
|
|
|
|
#ifndef _ASM_S390_AIRQ_H
|
|
#define _ASM_S390_AIRQ_H
|
|
|
|
typedef void (*adapter_int_handler_t)(void *, void *);
|
|
|
|
void *s390_register_adapter_interrupt(adapter_int_handler_t, void *, u8);
|
|
void s390_unregister_adapter_interrupt(void *, u8);
|
|
|
|
#endif /* _ASM_S390_AIRQ_H */
|