Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22aceb31 authored by Anna-Maria Gleixner's avatar Anna-Maria Gleixner Committed by Tejun Heo
Browse files

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: default avatarAnna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 9b7f6597
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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