]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/cio/css.c
[S390] cio: Fix race for "fast" path gone/path back situations.
[linux-2.6-omap-h63xx.git] / drivers / s390 / cio / css.c
index 3b45bbe6cce0c80a10b9450d06b590d70b4f06cc..3e829c827493607152b21ceac2db148dc4a30dd6 100644 (file)
@@ -533,6 +533,12 @@ void css_schedule_eval_all(void)
        spin_unlock_irqrestore(&slow_subchannel_lock, flags);
 }
 
+void css_wait_for_slow_path(void)
+{
+       flush_workqueue(ccw_device_notify_work);
+       flush_workqueue(slow_path_wq);
+}
+
 /* Reprobe subchannel if unregistered. */
 static int reprobe_subchannel(struct subchannel_id schid, void *data)
 {