lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] function name in the comment differs from the real function name
Date
From: gongzhaogang <gongzhaogang@inspur.com>

modify wq_calc_node_mask to wq_calc_node_cpumask

Signed-off-by: Gong Zhaogang <gongzhaogang@inspur.com>
---
kernel/workqueue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index cae6277..d65ef96 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3438,7 +3438,7 @@ static void free_unbound_pwq(struct pool_workqueue *pwq)
}

/**
- * 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 interest
* @node: the target NUMA node
* @cpu_going_down: if >= 0, the CPU to consider as offline
--
1.7.1



\
 
 \ /
  Last update: 2015-05-11 14:41    [W:0.036 / U:8.324 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site