mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
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 thee24dcbef93
commit log and as was done for pciehp bya827ea307b
("pciehp: update workqueue usage"). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
c2be6f93b3
commit
10959d72d4
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user