Skip to content

Commit

Permalink
[S390] qdio: count number of qdio interrupts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Glauber authored and Martin Schwidefsky committed May 17, 2010
1 parent 6ea5096 commit 09a308f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/s390/cio/qdio_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 09a308f

Please sign in to comment.