staging: unisys: added virthba rqwait entry
authorErik Arfvidson <erik.arfvidson@unisys.com>
Mon, 21 Jul 2014 18:47:44 +0000 (14:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 21:27:34 +0000 (14:27 -0700)
This patch adds the rqwait entry into the virthba debugfs directory

Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virthba/virthba.c

index 121cc05d7727f6effca42e70d83336e3d81c9157..857de1108b744df2281e7fd624cfcc010416fccf 100644 (file)
@@ -1603,6 +1603,8 @@ virthba_mod_init(void)
                virthba_debugfs_dir = debugfs_create_dir("virthba", NULL);
                debugfs_create_file("info", S_IRUSR, virthba_debugfs_dir,
                                NULL, &debugfs_info_fops);
+               debugfs_create_u32("rqwait_usecs", S_IRUSR | S_IWUSR,
+                               virthba_debugfs_dir, &rsltq_wait_usecs);
                /* Initialize DARWorkQ */
                INIT_WORK(&DARWorkQ, doDiskAddRemove);
                spin_lock_init(&DARWorkQLock);