diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-01-05 12:47:35 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 12:47:26 +0100 |
commit | 096a61682e86090e4e74118ff6fa6858ca73aa58 (patch) | |
tree | f768604168b1d55aae0351f70f94c5089444b09f /drivers | |
parent | f48198d592b0d680b9677bd69edd2290cd0c1f4f (diff) | |
download | kernel_goldelico_gta04-096a61682e86090e4e74118ff6fa6858ca73aa58.zip kernel_goldelico_gta04-096a61682e86090e4e74118ff6fa6858ca73aa58.tar.gz kernel_goldelico_gta04-096a61682e86090e4e74118ff6fa6858ca73aa58.tar.bz2 |
[S390] lcs: add support for irq statistics
Add support for LCS 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 'drivers')
-rw-r--r-- | drivers/s390/net/lcs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index 0f19d54..0bf7089 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c @@ -26,6 +26,7 @@ #define KMSG_COMPONENT "lcs" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt +#include <linux/kernel_stat.h> #include <linux/module.h> #include <linux/if.h> #include <linux/netdevice.h> @@ -1396,6 +1397,7 @@ lcs_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) int rc, index; int cstat, dstat; + kstat_cpu(smp_processor_id()).irqs[IOINT_LCS]++; if (lcs_check_irb_error(cdev, irb)) return; |