diff options
-rw-r--r-- | arch/s390/include/asm/irq.h | 1 | ||||
-rw-r--r-- | arch/s390/kernel/irq.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/lcs.c | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/irq.h b/arch/s390/include/asm/irq.h index 6c9b55681eab..6a455b8ea18b 100644 --- a/arch/s390/include/asm/irq.h +++ b/arch/s390/include/asm/irq.h | |||
@@ -22,6 +22,7 @@ enum interruption_class { | |||
22 | IOINT_C70, | 22 | IOINT_C70, |
23 | IOINT_TAP, | 23 | IOINT_TAP, |
24 | IOINT_VMR, | 24 | IOINT_VMR, |
25 | IOINT_LCS, | ||
25 | NMI_NMI, | 26 | NMI_NMI, |
26 | NR_IRQS, | 27 | NR_IRQS, |
27 | }; | 28 | }; |
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index ae726d1ae430..4c6e071b7f92 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c | |||
@@ -39,6 +39,7 @@ static const struct irq_class intrclass_names[] = { | |||
39 | {.name = "C70", .desc = "[I/O] 3270" }, | 39 | {.name = "C70", .desc = "[I/O] 3270" }, |
40 | {.name = "TAP", .desc = "[I/O] Tape" }, | 40 | {.name = "TAP", .desc = "[I/O] Tape" }, |
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 = "NMI", .desc = "[NMI] Machine Check" }, | 43 | {.name = "NMI", .desc = "[NMI] Machine Check" }, |
43 | }; | 44 | }; |
44 | 45 | ||
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index 0f19d540b655..0bf708944314 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #define KMSG_COMPONENT "lcs" | 26 | #define KMSG_COMPONENT "lcs" |
27 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | 27 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
28 | 28 | ||
29 | #include <linux/kernel_stat.h> | ||
29 | #include <linux/module.h> | 30 | #include <linux/module.h> |
30 | #include <linux/if.h> | 31 | #include <linux/if.h> |
31 | #include <linux/netdevice.h> | 32 | #include <linux/netdevice.h> |
@@ -1396,6 +1397,7 @@ lcs_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) | |||
1396 | int rc, index; | 1397 | int rc, index; |
1397 | int cstat, dstat; | 1398 | int cstat, dstat; |
1398 | 1399 | ||
1400 | kstat_cpu(smp_processor_id()).irqs[IOINT_LCS]++; | ||
1399 | if (lcs_check_irb_error(cdev, irb)) | 1401 | if (lcs_check_irb_error(cdev, irb)) |
1400 | return; | 1402 | return; |
1401 | 1403 | ||