powerpc/cell: Use system_wq in cpufreq_spudemand
authorTejun Heo <tj@kernel.org>
Mon, 3 Jan 2011 03:49:25 +0000 (03:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:34 +0000 (14:08 +1100)
commitb18ae08deac23187e4a22a8c94a1a473be8e8c93
treed403d80de1f889c7ef5a9357a5c9da1b876b8508
parentf32be0c54057faac90e0b5e9e13fa9f8fab127ac
powerpc/cell: Use system_wq in cpufreq_spudemand

With cmwq, there's no reason to use a separate workqueue in
cpufreq_spudemand.  Use system_wq instead.  The work items are already
sync canceled on stop, so it's already guaranteed that no work is
running when spu_gov_exit() is entered.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Dave Jones <davej@redhat.com>
Cc: cpufreq@vger.kernel.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c
arch/powerpc/platforms/cell/cpufreq_spudemand.c