summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2010-05-17 10:00:14 +0200
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-05-17 10:00:17 +0200
commit09a308f384c4ad2fb45959f5da9918e812207c50 (patch)
treee0d18ee5f855dbffbba82caf159c106d85b4dddc /drivers/s390
parent6ea50968274673ea7b58695efec2eeb55ca2f5dd (diff)
downloadlinux-3.10-09a308f384c4ad2fb45959f5da9918e812207c50.tar.gz
linux-3.10-09a308f384c4ad2fb45959f5da9918e812207c50.tar.bz2
linux-3.10-09a308f384c4ad2fb45959f5da9918e812207c50.zip
[S390] qdio: count number of qdio interrupts
Add missing increment for the qdio interrupt counter. Signed-off-by: Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/cio/qdio_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c
index 88be7b9ea6e..1fc81268330 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -955,6 +955,9 @@ void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
return;
}
+ if (irq_ptr->perf_stat_enabled)
+ irq_ptr->perf_stat.qdio_int++;
+
if (IS_ERR(irb)) {
switch (PTR_ERR(irb)) {
case -EIO: