isdn/capi: make kcapi use a separate workqueue
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (15:59 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (15:59 +0100)
commit158fa67753e1eb3edfa5a2d1868666d89d1cf09f
tree27d65da02ac7d6e4844c8e84af990cadaed2ac19
parent7fa5e85a0ab9ed5d2d8b77eec7976c88a5911bda
isdn/capi: make kcapi use a separate workqueue

flush_scheduled_work() is deprecated and will be removed.  Because
kcapi uses fire-and-forget type works, it's impossible to flush each
work explicitly.  Create and use a dedicated workqueue instead.

Please note that with recent workqueue changes, each workqueue doesn't
reserve a lot of resources and using it as a flush domain is fine.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Jan Kiszka <jan.kiszka@web.de>
drivers/isdn/capi/kcapi.c