From: Tejun Heo Date: Wed, 22 Aug 2012 23:49:44 +0000 (-0700) Subject: staging: omapdrm: use alloc_ordered_workqueue() instead of UNBOUND w/ max_active = 1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4619cdbc6b3fca9f07482095e338c16ee0c6d722;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Rob Clark Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/omapdrm/omap_drv.c b/drivers/staging/omapdrm/omap_drv.c index b8e79eb7cd5e..2ec5264dd002 100644 --- a/drivers/staging/omapdrm/omap_drv.c +++ b/drivers/staging/omapdrm/omap_drv.c @@ -571,8 +571,7 @@ static int dev_load(struct drm_device *dev, unsigned long flags) dev->dev_private = priv; - priv->wq = alloc_workqueue("omapdrm", - WQ_UNBOUND | WQ_NON_REENTRANT, 1); + priv->wq = alloc_ordered_workqueue("omapdrm", 0); INIT_LIST_HEAD(&priv->obj_list);