summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorGong Zhaogang <gongzhaogang@inspur.com>2015-05-11 11:02:47 -0400
committerTejun Heo <tj@kernel.org>2015-05-11 11:03:34 -0400
commit30186c6fdc9a6a78c8b03351256451f07c66b6cd (patch)
treecdb4d2a429a2fa3afa59bc31ebe987c21477d1f4 /kernel/workqueue.c
parent6888c6f279a742a3190e186f44de70951b3491fd (diff)
downloadlinux-sh-30186c6fdc9a6a78c8b03351256451f07c66b6cd.tar.gz
workqueue: function name in the comment differs from the real function name
modify wq_calc_node_mask to wq_calc_node_cpumask Signed-off-by: Gong Zhaogang <gongzhaogang@inspur.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index a3915abc1983..4545f6732b69 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3428,7 +3428,7 @@ static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq,
}
/**
- * wq_calc_node_mask - calculate a wq_attrs' cpumask for the specified node
+ * wq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node
* @attrs: the wq_attrs of the default pwq of the target workqueue
* @node: the target NUMA node
* @cpu_going_down: if >= 0, the CPU to consider as offline