From: Lai Jiangshan Date: Tue, 19 Mar 2013 19:28:01 +0000 (+0800) Subject: workqueue: add missing POOL_FREEZING X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12ee4fc67c00895b3d740297f7ca447239c1983b;p=pandora-kernel.git workqueue: add missing POOL_FREEZING get_unbound_pool() forgot to set POOL_FREEZING if workqueue_freezing is set and a new pool could go out of sync with the global freezing state. Fix it by adding POOL_FREEZING if workqueue_freezing. wq_mutex is already held so no further locking is necessary. This also removes the unused static variable warning when !CONFIG_FREEZER. tj: Updated commit message. Signed-off-by: Lai Jiangshan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed