arm/omap: use system_wq in mailbox
authorTejun Heo <tj@kernel.org>
Wed, 26 Jan 2011 11:12:50 +0000 (12:12 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 26 Jan 2011 11:12:50 +0000 (12:12 +0100)
commitc48730056f69db30c075236f4ee2bc9d3f4f9985
treebfab5ff0e416b9b17948f18024d2519be7453b55
parentada609ee2ac2e03bd8abb07f9b3e92cd2e650f19
arm/omap: use system_wq in mailbox

With cmwq, there's no reason to use a separate workqueue for mailbox.
Use the system_wq instead.  mbox->rxq->work is sync flushed in
omap_mbox_fini() to make sure it's not running on any cpu, which makes
sure that no mbox work is running when omap_mbox_exit() is entered.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Hari Kanigeri <hari.kanigeri@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
arch/arm/plat-omap/mailbox.c