diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-11 17:30:52 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-13 18:16:03 -0500 |
commit | 10959d72d401cec2781ca636b07d692c625e1c91 (patch) | |
tree | b03fecd0200415f97b5f9d3fb8d1179d4d5d65ae /drivers/pci | |
parent | c2be6f93b383c873a4f9d521afa49b1b67d06085 (diff) |
PCI: shpchp: Make shpchp_wq non-ordered
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/hotplug/shpchp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c index b6de307248e4..59ca86c924a3 100644 --- a/drivers/pci/hotplug/shpchp_core.c +++ b/drivers/pci/hotplug/shpchp_core.c | |||
@@ -366,7 +366,7 @@ static int __init shpcd_init(void) | |||
366 | { | 366 | { |
367 | int retval = 0; | 367 | int retval = 0; |
368 | 368 | ||
369 | shpchp_wq = alloc_ordered_workqueue("shpchp", 0); | 369 | shpchp_wq = alloc_workqueue("shpchp", 0, 0); |
370 | if (!shpchp_wq) | 370 | if (!shpchp_wq) |
371 | return -ENOMEM; | 371 | return -ENOMEM; |
372 | 372 | ||