Re: [PATCH][kernel-doc] Add DocBook documentation for workqueue functions

Stefan Richter
2006-07-20T11:52:38Z

Rolf Eike Beer wrote:
[...]
> int fastcall schedule_work(struct work_struct *work)
> {
> return queue_work(keventd_wq, work);
> }
> EXPORT_SYMBOL(schedule_work);
>
> +/**
> + * schedule_work - put work task in global workqueue after delay

This should read "schedule_delayed_work".

> + *
> + * @work: job to be done
> + * @delay: number of jiffies to wait
> + *
> + * After waiting for a given time this puts a job in the kernel-global
> + * workqueue.
> + */
> int fastcall schedule_delayed_work(struct work_struct *work, unsigned long delay)
> {
> return queue_delayed_work(keventd_wq, work, delay);
> }
> EXPORT_SYMBOL(schedule_delayed_work);
>
> +/**
> + * schedule_work - queue work in global workqueue on specific CPU after delay

"schedule_delayed_work_on"

> + *
> + * @cpu: cpu to use
> + * @work: job to be done
> + * @delay: number of jiffies to wait
> + *
> + * After waiting for a given time this puts a job in the kernel-global
> + * workqueue.
> + */
> int schedule_delayed_work_on(int cpu,
> struct work_struct *work, unsigned long delay)
> {

--
Stefan Richter
-=====-=-==- -=== =--==