Skip to contentSkip to conversation

workqueue: Fix comment for work_on_cpu()

PATCH Applied Anna-Maria Gleixner 2 participants 2 messages Mar 10, 2016 – Mar 11, 2016 Workqueue

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 workqueue: Fix comment for work_on_cpu()

Function is processed in thread context, not in user context.

Cc Tejun Heo <[email protected]>
Cc Lai Jiangshan <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 kernel/workqueue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +1 -1
@@ -4696,7 +4696,7 @@ static void work_for_cpu_fn(struct work_
 }
 
 /**
- * work_on_cpu - run a function in user context on a particular cpu
+ * work_on_cpu - run a function in thread context on a particular cpu
  * @cpu: the cpu to run on
  * @fn: the function to run
  * @arg: the function arg