summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-01-05 14:47:32 +0300
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-05 14:47:25 +0300
commit3fe22f6bfd6f81aafd140d69578d3a2c39674664 (patch)
tree299ea61e404e827d67b4b834bb0c189c631af62b /arch/s390
parent12fae5858cd97181c92472c9bb5f098a7eca2ffe (diff)
downloadlinux-3fe22f6bfd6f81aafd140d69578d3a2c39674664.tar.xz
[S390] 3270: add support for irq statistics
Add support for 3270 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 d52533df6ac8..65e63c02b0f9 100644
--- a/arch/s390/include/asm/irq.h
+++ b/arch/s390/include/asm/irq.h
@@ -19,6 +19,7 @@ enum interruption_class {
IOINT_QDI,
IOINT_DAS,
IOINT_C15,
+ IOINT_C70,
NMI_NMI,
NR_IRQS,
};
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
index e7914e4adc48..8c241416576f 100644
--- a/arch/s390/kernel/irq.c
+++ b/arch/s390/kernel/irq.c
@@ -36,6 +36,7 @@ static const struct irq_class intrclass_names[] = {
{.name = "QDI", .desc = "[I/O] QDIO Interrupt" },
{.name = "DAS", .desc = "[I/O] DASD" },
{.name = "C15", .desc = "[I/O] 3215" },
+ {.name = "C70", .desc = "[I/O] 3270" },
{.name = "NMI", .desc = "[NMI] Machine Check" },
};