diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-01-05 06:47:37 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:26 -0500 |
commit | 85b81cdd0b038d580dedf6289df7de65826967d6 (patch) | |
tree | 45611f4accbd79c07232788c7bad7035b0cdba4d /arch/s390 | |
parent | 355eb4022b92349f70cd69ce5b9572c71c0be226 (diff) |
[S390] ctc: add support for irq statistics
Add support for CTC 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.h | 1 | ||||
-rw-r--r-- | arch/s390/kernel/irq.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/irq.h b/arch/s390/include/asm/irq.h index 2d5943c1c6a1..8c79f9400a36 100644 --- a/arch/s390/include/asm/irq.h +++ b/arch/s390/include/asm/irq.h | |||
@@ -24,6 +24,7 @@ enum interruption_class { | |||
24 | IOINT_VMR, | 24 | IOINT_VMR, |
25 | IOINT_LCS, | 25 | IOINT_LCS, |
26 | IOINT_CLW, | 26 | IOINT_CLW, |
27 | IOINT_CTC, | ||
27 | NMI_NMI, | 28 | NMI_NMI, |
28 | NR_IRQS, | 29 | NR_IRQS, |
29 | }; | 30 | }; |
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index 406b539f61a9..57ed2b55c2a1 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c | |||
@@ -41,6 +41,7 @@ static const struct irq_class intrclass_names[] = { | |||
41 | {.name = "VMR", .desc = "[I/O] Unit Record Devices" }, | 41 | {.name = "VMR", .desc = "[I/O] Unit Record Devices" }, |
42 | {.name = "LCS", .desc = "[I/O] LCS" }, | 42 | {.name = "LCS", .desc = "[I/O] LCS" }, |
43 | {.name = "CLW", .desc = "[I/O] CLAW" }, | 43 | {.name = "CLW", .desc = "[I/O] CLAW" }, |
44 | {.name = "CTC", .desc = "[I/O] CTC" }, | ||
44 | {.name = "NMI", .desc = "[NMI] Machine Check" }, | 45 | {.name = "NMI", .desc = "[NMI] Machine Check" }, |
45 | }; | 46 | }; |
46 | 47 | ||