]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] irqstats: fix counting of pfault, dasd diag and virtio irqs
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 29 Apr 2011 08:42:19 +0000 (10:42 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 29 Apr 2011 08:42:25 +0000 (10:42 +0200)
commit401ce0a67fea55a75b456d755edc8de92b097795
treef5ca038fcc00f5ed2cac37c575aec550e170c65c
parentf3e2d7bf5ffd9f2eb9093089d7436c56b08d0a80
[S390] irqstats: fix counting of pfault, dasd diag and virtio irqs

pfault, dasd diag and virtio all use the same external interrupt number.
The respective interrupt handlers decide by the subcode if they are
meant to handle the interrupt.
Counting is currently done before looking at the subcode which means
each handler counts an interrupt even if it is not handling it.
Fix this by moving the kstat code after the code which looks at the
subcode.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/fault.c
drivers/s390/block/dasd_diag.c
drivers/s390/kvm/kvm_virtio.c