workqueue: function name in the comment differs from the real function name
authorGong Zhaogang <gongzhaogang@inspur.com>
Mon, 11 May 2015 15:02:47 +0000 (11:02 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 11 May 2015 15:03:34 +0000 (11:03 -0400)
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>
kernel/workqueue.c

index a3915abc19833c3a1a37cafce0683272ea4fd300..4545f6732b69d899a5e5812210ea0bed03fac88a 100644 (file)
@@ -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