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