mirror of https://gitee.com/openkylin/linux.git
staging: omapdrm: use alloc_ordered_workqueue() instead of UNBOUND w/ max_active = 1
This is an equivalent conversion and will ease scheduled removal of WQ_NON_REENTRANT. Only compile tested. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d4eb23a98f
commit
4619cdbc6b
|
@ -571,8 +571,7 @@ static int dev_load(struct drm_device *dev, unsigned long flags)
|
||||||
|
|
||||||
dev->dev_private = priv;
|
dev->dev_private = priv;
|
||||||
|
|
||||||
priv->wq = alloc_workqueue("omapdrm",
|
priv->wq = alloc_ordered_workqueue("omapdrm", 0);
|
||||||
WQ_UNBOUND | WQ_NON_REENTRANT, 1);
|
|
||||||
|
|
||||||
INIT_LIST_HEAD(&priv->obj_list);
|
INIT_LIST_HEAD(&priv->obj_list);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue