]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, apm: Make on_cpu0() use workqueue instead of work_on_cpu()
authorTejun Heo <tj@kernel.org>
Fri, 24 Aug 2012 01:11:34 +0000 (18:11 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Aug 2012 22:53:02 +0000 (15:53 -0700)
commitf07bb365960ae262d2dfcad44692be733ceb4e93
tree436d5f63e9dfb6872570171cf9bc5ee5394fcb69
parentf283d22713b0bdc147097c92c9b45855339cf1c8
x86, apm: Make on_cpu0() use workqueue instead of work_on_cpu()

Make APM schedule a work item on CPU0 instead of using the expensive
work_on_cpu(); hopefully, this is the last user of work_on_cpu() and
we can take out work_on_cpu() in not too distant future.

Tested both paths.  Seems to work fine.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/x86/kernel/apm_32.c