aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2011-10-30 10:16:54 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-10-30 10:16:44 -0400
commit65b4e403ac926f5196c2f28c4ec783d32dc322f0 (patch)
tree65db1f414961da1794ac7dfc452ea00fda9b6503 /arch/s390
parentdad572e370138539ea45be9b53d168568e562565 (diff)
[S390] chsc_sch: add support for irq statistics
Add support for CHSC I/O interrupt statistics in /proc/interrupts. Signed-off-by: Sebastian Ott <sebott@linux.vnet.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 1f686059f293..eadfa9fc03ba 100644
--- a/arch/s390/include/asm/irq.h
+++ b/arch/s390/include/asm/irq.h
@@ -28,6 +28,7 @@ enum interruption_class {
28 IOINT_CLW, 28 IOINT_CLW,
29 IOINT_CTC, 29 IOINT_CTC,
30 IOINT_APB, 30 IOINT_APB,
31 IOINT_CSC,
31 NMI_NMI, 32 NMI_NMI,
32 NR_IRQS, 33 NR_IRQS,
33}; 34};
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
index d382f9db3df5..30faaef34457 100644
--- a/arch/s390/kernel/irq.c
+++ b/arch/s390/kernel/irq.c
@@ -53,6 +53,7 @@ static const struct irq_class intrclass_names[] = {
53 {.name = "CLW", .desc = "[I/O] CLAW" }, 53 {.name = "CLW", .desc = "[I/O] CLAW" },
54 {.name = "CTC", .desc = "[I/O] CTC" }, 54 {.name = "CTC", .desc = "[I/O] CTC" },
55 {.name = "APB", .desc = "[I/O] AP Bus" }, 55 {.name = "APB", .desc = "[I/O] AP Bus" },
56 {.name = "CSC", .desc = "[I/O] CHSC Subchannel" },
56 {.name = "NMI", .desc = "[NMI] Machine Check" }, 57 {.name = "NMI", .desc = "[NMI] Machine Check" },
57}; 58};
58 59