Skip to content
Commit f6500947 authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: workqueue_cpu_callback() should be cpu_notifier instead of hotcpu_notifier



Commit 6ee0578b (workqueue: mark init_workqueues as early_initcall)
made workqueue SMP initialization depend on workqueue_cpu_callback(),
which however was registered as hotcpu_notifier() and didn't get
called if CONFIG_HOTPLUG_CPU is not set.  This made gcwqs on non-boot
CPUs not create their initial workers leading to boot failures.  Fix
it by making it a cpu_notifier.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-and-bisected-by: default avatarwalt <w41ter@gmail.com>
Tested-by: default avatarMarkus Trippelsdorf <markus@trippelsdorf.de>
parent 38f51568
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment