summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFelix Beck <felix.beck@de.ibm.com>2008-12-25 13:38:41 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:38:57 +0100
commitcb17a6364a29b4dfe5bbb00696032fb63d780157 (patch)
tree9bd2d71b6bc80188f3ff1eac9deeacad96b8124f /arch
parent320c04c068c62b71fe9ea55e06e4968b4edc9e48 (diff)
[S390] zcrypt: Use of Thin Interrupts
When the machine supports AP adapter interrupts polling will be switched off at module initialization and the driver will work in interrupt mode. Signed-off-by: Felix Beck <felix.beck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/isc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/isc.h b/arch/s390/include/asm/isc.h
index 34bb8916db4f..1420a1115948 100644
--- a/arch/s390/include/asm/isc.h
+++ b/arch/s390/include/asm/isc.h
@@ -17,6 +17,7 @@
#define CHSC_SCH_ISC 7 /* CHSC subchannels */
/* Adapter interrupts. */
#define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */
+#define AP_ISC 6 /* adjunct processor (crypto) devices */
/* Functions for registration of I/O interruption subclasses */
void isc_register(unsigned int isc);