]> git.baikalelectronics.ru Git - kernel.git/commit
acpi: use queue_work_on() instead of binding workqueue worker to cpu0
authorTejun Heo <tj@kernel.org>
Tue, 29 Jun 2010 08:07:09 +0000 (10:07 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 29 Jun 2010 08:07:09 +0000 (10:07 +0200)
commita10caca89e2089d3ec59c32d5705226af61b1be0
tree74dcc29170958b7ef29057e8e7e6e4a4cd059cdf
parentacb59a3a992f3e57a6c66c1a288c5925e25a72d5
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: Tejun Heo <tj@kernel.org>
drivers/acpi/osl.c