]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/s390/char/tape_core.c
[S390] cio: obtain mdc value per channel path
[karo-tx-linux.git] / drivers / s390 / char / tape_core.c
index b3a3e8e8656e6db1be5e3a50b63056c43f0897f6..7978a0adeaf3cd2781216d5c2d0fb13724282506 100644 (file)
@@ -14,6 +14,7 @@
 #define KMSG_COMPONENT "tape"
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
+#include <linux/kernel_stat.h>
 #include <linux/module.h>
 #include <linux/init.h>             // for kernel parameters
 #include <linux/kmod.h>             // for requesting modules
@@ -1114,6 +1115,7 @@ __tape_do_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb)
        struct tape_request *request;
        int rc;
 
+       kstat_cpu(smp_processor_id()).irqs[IOINT_TAP]++;
        device = dev_get_drvdata(&cdev->dev);
        if (device == NULL) {
                return;