aboutsummaryrefslogtreecommitdiff
path: root/kernel/module.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2014-06-03 15:33:08 +0800
committerMoyster <oysterized@gmail.com>2017-12-05 18:05:39 +0100
commit123db510ca2fa60b65a68616f58d792413ec25fb (patch)
tree2246111c811373c57c44fb5d016bbad3c844b673 /kernel/module.c
parentb577bb9ee307955afbbfc5e98d13a3bfb83132eb (diff)
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 <laijs@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions