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)
commit8fec62b2d9d0c80b594d0d85678bfdf57a70df1b
tree74dcc29170958b7ef29057e8e7e6e4a4cd059cdf
parent82805ab77d25643f579d90397dcd34f05d1b750a
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