diff options
author | Anna-Maria Gleixner <anna-maria@linutronix.de> | 2016-03-10 06:07:38 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-03-11 12:39:01 -0500 |
commit | 22aceb317678057dced5f1d6e3ac15acdb863e7b (patch) | |
tree | 33b5eae7ed964c3b129992e935137f15bac5c9a8 /kernel/workqueue.c | |
parent | 9b7f6597f013d449d6700d11820faf91ee0ec985 (diff) |
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) | |||
4695 | } | 4695 | } |
4696 | 4696 | ||
4697 | /** | 4697 | /** |
4698 | * work_on_cpu - run a function in user context on a particular cpu | 4698 | * work_on_cpu - run a function in thread context on a particular cpu |
4699 | * @cpu: the cpu to run on | 4699 | * @cpu: the cpu to run on |
4700 | * @fn: the function to run | 4700 | * @fn: the function to run |
4701 | * @arg: the function arg | 4701 | * @arg: the function arg |