PCI: shpchp: Make shpchp_wq non-ordered
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Jan 2013 22:30:52 +0000 (15:30 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 13 Jan 2013 23:16:03 +0000 (16:16 -0700)
e24dcbef93 ("shpchp: update workqueue usage") was described as adding
non-ordered shpchp_wq, but it actually made it an *ordered* workqueue.

This patch changes shpchp_wq to be non-ordered, as described in the
e24dcbef93 commit log and as was done for pciehp by a827ea307b ("pciehp:
update workqueue usage").

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
drivers/pci/hotplug/shpchp_core.c

index b6de307248e43cedf52a0a27eacf9211b61efe72..59ca86c924a35f6f8de6c1828266ae0b29916251 100644 (file)
@@ -366,7 +366,7 @@ static int __init shpcd_init(void)
 {
        int retval = 0;
 
-       shpchp_wq = alloc_ordered_workqueue("shpchp", 0);
+       shpchp_wq = alloc_workqueue("shpchp", 0, 0);
        if (!shpchp_wq)
                return -ENOMEM;