diff options
Diffstat (limited to 'drivers/s390/cio/eadm_sch.c')
-rw-r--r-- | drivers/s390/cio/eadm_sch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/cio/eadm_sch.c b/drivers/s390/cio/eadm_sch.c index 3fc882f66689..6c9673400464 100644 --- a/drivers/s390/cio/eadm_sch.c +++ b/drivers/s390/cio/eadm_sch.c @@ -5,6 +5,7 @@ * Author(s): Sebastian Ott <sebott@linux.vnet.ibm.com> */ +#include <linux/kernel_stat.h> #include <linux/workqueue.h> #include <linux/spinlock.h> #include <linux/device.h> @@ -138,6 +139,8 @@ static void eadm_subchannel_irq(struct subchannel *sch) EADM_LOG(6, "irq"); EADM_LOG_HEX(6, irb, sizeof(*irb)); + kstat_cpu(smp_processor_id()).irqs[IOINT_ADM]++; + if ((scsw->stctl & (SCSW_STCTL_ALERT_STATUS | SCSW_STCTL_STATUS_PEND)) && scsw->eswf == 1 && irb->esw.eadm.erw.r) error = -EIO; |