summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-01-05 12:47:33 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-05 12:47:25 +0100
commitb86651721f18f40319efe94ed3eac2d26682e5b9 (patch)
tree308e27b19654f900e8e3a62211d79d7a7711ac82 /arch/s390
parent3fe22f6bfd6f81aafd140d69578d3a2c39674664 (diff)
downloadlinux-b86651721f18f40319efe94ed3eac2d26682e5b9.tar.gz
linux-b86651721f18f40319efe94ed3eac2d26682e5b9.tar.bz2
linux-b86651721f18f40319efe94ed3eac2d26682e5b9.zip
[S390] tape: add support for irq statistics
Add support for ccw based tape 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/s390')
-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 65e63c02b0f9..6986343a566f 100644
--- a/arch/s390/include/asm/irq.h
+++ b/arch/s390/include/asm/irq.h
@@ -20,6 +20,7 @@ enum interruption_class {
IOINT_DAS,
IOINT_C15,
IOINT_C70,
+ IOINT_TAP,
NMI_NMI,
NR_IRQS,
};
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
index 8c241416576f..5d7b6fbb3c13 100644
--- a/arch/s390/kernel/irq.c
+++ b/arch/s390/kernel/irq.c
@@ -37,6 +37,7 @@ static const struct irq_class intrclass_names[] = {
{.name = "DAS", .desc = "[I/O] DASD" },
{.name = "C15", .desc = "[I/O] 3215" },
{.name = "C70", .desc = "[I/O] 3270" },
+ {.name = "TAP", .desc = "[I/O] Tape" },
{.name = "NMI", .desc = "[NMI] Machine Check" },
};