workqueue: Fix comment for work_on_cpu()
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Thu, 10 Mar 2016 11:07:38 +0000 (12:07 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 11 Mar 2016 17:39:01 +0000 (12:39 -0500)
Function is processed in thread context, not in user context.

Cc: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c

index 16f4986..c3692d9 100644 (file)
@@ -4695,7 +4695,7 @@ static void work_for_cpu_fn(struct work_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