From: Tejun Heo Date: Wed, 26 Jan 2011 16:49:18 +0000 (+0100) Subject: drm/nouveau: use system_wq instead of dev_priv->wq X-Git-Tag: v2.6.39-rc1~458^2~20^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d82f8e6c802bb1244ce590d3877f7c66a8fb0ff0;p=pandora-kernel.git drm/nouveau: use system_wq instead of dev_priv->wq With cmwq, there's no reason for nouveau to use a dedicated workqueue. Drop dev_priv->wq and use system_wq instead. Each work item is sync flushed when the containing structure is unregistered/destroyed. Note that this change also makes sure that nv50_gpio_handler is not freed while the contained work item is still running. Signed-off-by: Tejun Heo Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed