aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index ea1b4e7674d5..addfe2df93b1 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -598,7 +598,12 @@ static struct workqueue_struct *keventd_wq __read_mostly;
598 * schedule_work - put work task in global workqueue 598 * schedule_work - put work task in global workqueue
599 * @work: job to be done 599 * @work: job to be done
600 * 600 *
601 * This puts a job in the kernel-global workqueue. 601 * Returns zero if @work was already on the kernel-global workqueue and
602 * non-zero otherwise.
603 *
604 * This puts a job in the kernel-global workqueue if it was not already
605 * queued and leaves it in the same position on the kernel-global
606 * workqueue otherwise.
602 */ 607 */
603int schedule_work(struct work_struct *work) 608int schedule_work(struct work_struct *work)
604{ 609{