From: Xiang Chen <chenxiang66@xxxxxxxxxxxxx> Use function workqueue_init() instead of init_workqueues() which is not used in kernel. Signed-off-by: Xiang Chen <chenxiang66@xxxxxxxxxxxxx> --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index dd24774..c34b03d 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -5784,7 +5784,7 @@ static int __init cgroup_wq_init(void) * Use 1 for @max_active. * * We would prefer to do this in cgroup_init() above, but that - * is called before init_workqueues(): so leave this until after. + * is called before workqueue_init(): so leave this until after. */ cgroup_destroy_wq = alloc_workqueue("cgroup_destroy", 0, 1); BUG_ON(!cgroup_destroy_wq); -- 2.8.1