summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-01 11:42:42 +0100
committerTejun Heo <tj@kernel.org>2011-02-01 11:42:42 +0100
commit52286713a9ae1c4c80d521a8990e8c3ba14118f3 (patch)
tree4336d468d13a23515254d666e571f670b3d8e58f /drivers
parentacpi: kacpi*_wq don't need WQ_MEM_RECLAIM (diff)
downloadlinux-52286713a9ae1c4c80d521a8990e8c3ba14118f3.tar.xz
linux-52286713a9ae1c4c80d521a8990e8c3ba14118f3.zip
i2o: use alloc_workqueue() instead of create_workqueue()
This is an identity conversion. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/message/i2o/driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/message/i2o/driver.c b/drivers/message/i2o/driver.c
index a0421efe04ca..8a5b2d8f4daf 100644
--- a/drivers/message/i2o/driver.c
+++ b/drivers/message/i2o/driver.c
@@ -84,7 +84,8 @@ int i2o_driver_register(struct i2o_driver *drv)
osm_debug("Register driver %s\n", drv->name);
if (drv->event) {
- drv->event_queue = create_workqueue(drv->name);
+ drv->event_queue = alloc_workqueue(drv->name,
+ WQ_MEM_RECLAIM, 1);
if (!drv->event_queue) {
osm_err("Could not initialize event queue for driver "
"%s\n", drv->name);