summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorAnna-Maria Gleixner <anna-maria@linutronix.de>2016-03-10 12:07:38 +0100
committerTejun Heo <tj@kernel.org>2016-03-11 12:39:01 -0500
commit22aceb317678057dced5f1d6e3ac15acdb863e7b (patch)
tree33b5eae7ed964c3b129992e935137f15bac5c9a8 /kernel/workqueue.c
parent9b7f6597f013d449d6700d11820faf91ee0ec985 (diff)
downloadlinux-sh-22aceb317678057dced5f1d6e3ac15acdb863e7b.tar.gz
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.c2
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