[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)
commita9851832857dc1e4efefca1713f5cff3e168a25c
treef5ca038fcc00f5ed2cac37c575aec550e170c65c
parented961581a7ca91d6a4852af2e44333e983100505
[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