summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-01-05 12:47:30 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-05 12:47:25 +0100
commit3283942b71eb5023184b378230f5f0e3fbb40991 (patch)
tree269d2d33b7eade2a3dc1092e217ff00bcc8a6e6f /arch
parent30d77c3e1cbdff304b16ae02cb56baaa308e42fd (diff)
downloadlinux-3283942b71eb5023184b378230f5f0e3fbb40991.tar.gz
linux-3283942b71eb5023184b378230f5f0e3fbb40991.tar.bz2
linux-3283942b71eb5023184b378230f5f0e3fbb40991.zip
[S390] dasd: add support for irq statistics
Add support for DASD I/O interrupt statistics in /proc/interrupts. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/irq.h1
-rw-r--r--arch/s390/kernel/irq.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/irq.h b/arch/s390/include/asm/irq.h
index 28cfe5905a00..082ef0cce287 100644
--- a/arch/s390/include/asm/irq.h
+++ b/arch/s390/include/asm/irq.h
@@ -17,6 +17,7 @@ enum interruption_class {
EXTINT_IUC,
IOINT_QAI,
IOINT_QDI,
+ IOINT_DAS,
NMI_NMI,
NR_IRQS,
};
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
index 61d8098aa0b6..313fe83a443a 100644
--- a/arch/s390/kernel/irq.c
+++ b/arch/s390/kernel/irq.c
@@ -34,6 +34,7 @@ static const struct irq_class intrclass_names[] = {
{.name = "IUC", .desc = "[EXT] IUCV" },
{.name = "QAI", .desc = "[I/O] QDIO Adapter Interrupt" },
{.name = "QDI", .desc = "[I/O] QDIO Interrupt" },
+ {.name = "DAS", .desc = "[I/O] DASD" },
{.name = "NMI", .desc = "[NMI] Machine Check" },
};