From: Lai Jiangshan Date: Tue, 3 Jun 2014 07:33:08 +0000 (+0800) Subject: workqueue: sanity check pool->cpu in wq_worker_sleeping() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~192^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b69f509196fc5afc6a357511b864d372f42419;p=pandora-kernel.git workqueue: sanity check pool->cpu in wq_worker_sleeping() In theory, pool->cpu is equals to @cpu in wq_worker_sleeping() after worker->flags is checked. And "pool->cpu != cpu" sanity check will help us if something wrong. Signed-off-by: Lai Jiangshan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed