projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4eb23a
)
staging: omapdrm: use alloc_ordered_workqueue() instead of UNBOUND w/ max_active = 1
author
Tejun Heo
<tj@kernel.org>
Wed, 22 Aug 2012 23:49:44 +0000
(16:49 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 19:18:10 +0000
(12:18 -0700)
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>
drivers/staging/omapdrm/omap_drv.c
patch
|
blob
|
history
diff --git
a/drivers/staging/omapdrm/omap_drv.c
b/drivers/staging/omapdrm/omap_drv.c
index
b8e79eb
..
2ec5264
100644
(file)
--- 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);