From: Anna-Maria Gleixner Date: Thu, 10 Mar 2016 11:07:38 +0000 (+0100) Subject: workqueue: Fix comment for work_on_cpu() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=22aceb317678057dced5f1d6e3ac15acdb863e7b;p=linux.git workqueue: Fix comment for work_on_cpu() Function is processed in thread context, not in user context. Cc: Tejun Heo Cc: Lai Jiangshan Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Signed-off-by: Tejun Heo --- diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 16f4986205e97..c3692d9eda551 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