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

acpi: use queue_work_on() instead of binding workqueue worker to cpu0



ACPI works need to be executed on cpu0 and acpi/osl.c achieves this by
creating singlethread workqueue and then binding it to cpu0 from a
work which is quite unorthodox.  Make it create regular workqueues and
use queue_work_on() instead.  This is in preparation of concurrency
managed workqueue and the extra workers won't be a problem after it's
implemented.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 82805ab7
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