diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2011-01-05 06:47:29 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:25 -0500 |
commit | 30d77c3e1cbdff304b16ae02cb56baaa308e42fd (patch) | |
tree | c1f4babe1ff6a0794591311b634ae1626653e95b /drivers/s390/cio/qdio_thinint.c | |
parent | 052ff461c8427629aee887ccc27478fc7373237c (diff) |
[S390] qdio: add qdio interrupts to interrupt statistics
Count traditional qdio interrupts and adapter interrupts for qdio
in the interrupt statistics.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_thinint.c')
-rw-r--r-- | drivers/s390/cio/qdio_thinint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio_thinint.c b/drivers/s390/cio/qdio_thinint.c index 5d9c66627b6e..64b59a58a1cd 100644 --- a/drivers/s390/cio/qdio_thinint.c +++ b/drivers/s390/cio/qdio_thinint.c | |||
@@ -8,6 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | #include <linux/io.h> | 9 | #include <linux/io.h> |
10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
11 | #include <linux/kernel_stat.h> | ||
11 | #include <asm/atomic.h> | 12 | #include <asm/atomic.h> |
12 | #include <asm/debug.h> | 13 | #include <asm/debug.h> |
13 | #include <asm/qdio.h> | 14 | #include <asm/qdio.h> |
@@ -127,6 +128,7 @@ static void tiqdio_thinint_handler(void *alsi, void *data) | |||
127 | struct qdio_q *q; | 128 | struct qdio_q *q; |
128 | 129 | ||
129 | last_ai_time = S390_lowcore.int_clock; | 130 | last_ai_time = S390_lowcore.int_clock; |
131 | kstat_cpu(smp_processor_id()).irqs[IOINT_QAI]++; | ||
130 | 132 | ||
131 | /* | 133 | /* |
132 | * SVS only when needed: issue SVS to benefit from iqdio interrupt | 134 | * SVS only when needed: issue SVS to benefit from iqdio interrupt |