mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
s390/cio: fix irq statistics
When we fetch an interrupt on the CCW console using tsch (via
ccw_device_wait_idle formerly known as wait_cons_dev) we increment
the irq count for the affected interruption class but it is not
accounted as an IO interrupt.
This is broken since commit b603d258a4
"s390: remove superfluous tpi from wait_cons_dev"
Fix it so that the sum of the individual interrupts per class matches
the number of IO interrupts again.
Reported-by: Gerald Schaefer <[email protected]>
Signed-off-by: Sebastian Ott <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
94c163663f
commit
3ad19b8fb0
1 changed files with 1 additions and 0 deletions
|
|
@ -647,6 +647,7 @@ void cio_tsch(struct subchannel *sch)
|
|||
local_bh_disable();
|
||||
irq_enter();
|
||||
}
|
||||
kstat_incr_irqs_this_cpu(IO_INTERRUPT, NULL);
|
||||
if (sch->driver && sch->driver->irq)
|
||||
sch->driver->irq(sch);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue