rxrpc: Use alloc_ordered_workqueue() to create ordered workqueues
[linux-2.6-microblaze.git] / net / rxrpc / af_rxrpc.c
index 31f738d..7eb24c2 100644 (file)
@@ -988,7 +988,7 @@ static int __init af_rxrpc_init(void)
                goto error_call_jar;
        }
 
-       rxrpc_workqueue = alloc_workqueue("krxrpcd", WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
+       rxrpc_workqueue = alloc_ordered_workqueue("krxrpcd", WQ_HIGHPRI | WQ_MEM_RECLAIM);
        if (!rxrpc_workqueue) {
                pr_notice("Failed to allocate work queue\n");
                goto error_work_queue;