Commit 10959d72 authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: shpchp: Make shpchp_wq non-ordered

e24dcbef ("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
e24dcbef commit log and as was done for pciehp by a827ea30 ("pciehp:
update workqueue usage").
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
parent c2be6f93
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment