diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-22 16:49:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 12:18:10 -0700 |
commit | 4619cdbc6b3fca9f07482095e338c16ee0c6d722 (patch) | |
tree | 5f688614b085b333008ed96568da75332418ff47 /drivers/staging/omapdrm | |
parent | d4eb23a98f6c39ab0e5aa6abb67b615bb8973610 (diff) | |
download | blackbird-obmc-linux-4619cdbc6b3fca9f07482095e338c16ee0c6d722.tar.gz blackbird-obmc-linux-4619cdbc6b3fca9f07482095e338c16ee0c6d722.zip |
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>
Diffstat (limited to 'drivers/staging/omapdrm')
-rw-r--r-- | drivers/staging/omapdrm/omap_drv.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |