forked from Minki/linux
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>
This commit is contained in:
parent
44d2588e11
commit
52286713a9
@ -84,7 +84,8 @@ int i2o_driver_register(struct i2o_driver *drv)
|
|||||||
osm_debug("Register driver %s\n", drv->name);
|
osm_debug("Register driver %s\n", drv->name);
|
||||||
|
|
||||||
if (drv->event) {
|
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) {
|
if (!drv->event_queue) {
|
||||||
osm_err("Could not initialize event queue for driver "
|
osm_err("Could not initialize event queue for driver "
|
||||||
"%s\n", drv->name);
|
"%s\n", drv->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user