core/cleanups for v2.6.32
Linus,
Please pull the core-cleanups-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-cleanups-for-linus
Thanks,
Ingo
------------------>
Bart Van Assche (1):
workqueues: Improve schedule_work() documentation
kernel/workqueue.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
kernel/workqueue.c +6 -1
@@ -600,7 +600,12 @@ static struct workqueue_struct *keventd_wq __read_mostly;* schedule_work - put work task in global workqueue * @work: job to be done * -* This puts a job in the kernel-global workqueue. +* Returns zero if @work was already on the kernel-global workqueue and +* non-zero otherwise. +* +* This puts a job in the kernel-global workqueue if it was not already +* queued and leaves it in the same position on the kernel-global +* workqueue otherwise. */ int schedule_work (struct work_struct *work) {