Skip to content

Commit

Permalink
PCI: shpchp: Make shpchp_wq non-ordered
Browse files Browse the repository at this point in the history
e24dcbe ("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
e24dcbe commit log and as was done for pciehp by a827ea3 ("pciehp:
update workqueue usage").

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Bjorn Helgaas committed Jan 13, 2013
1 parent c2be6f9 commit 10959d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/hotplug/shpchp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 10959d7

Please sign in to comment.