diff options
author | Anna-Maria Gleixner <anna-maria@linutronix.de> | 2016-03-10 12:07:38 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-03-11 18:39:01 +0100 |
commit | 22aceb317678057dced5f1d6e3ac15acdb863e7b (patch) | |
tree | 33b5eae7ed964c3b129992e935137f15bac5c9a8 /kernel/workqueue.c | |
parent | sched/core: Get rid of 'cpu' argument in wq_worker_sleeping() (diff) | |
download | linux-22aceb317678057dced5f1d6e3ac15acdb863e7b.tar.xz linux-22aceb317678057dced5f1d6e3ac15acdb863e7b.zip |
workqueue: Fix comment for work_on_cpu()
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>
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 16f4986205e9..c3692d9eda55 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -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 |