summaryrefslogtreecommitdiff
path: root/kern/work.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/work.h')
-rw-r--r--kern/work.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/kern/work.h b/kern/work.h
index 68801c4..ccd3c50 100644
--- a/kern/work.h
+++ b/kern/work.h
@@ -131,6 +131,9 @@ work_init(struct work *work, work_fn_t fn)
/*
* Schedule work for deferred processing.
*
+ * After being scheduled, a work queue must be reinitialized before
+ * it can be reused.
+ *
* This function may be called from interrupt context.
*/
void work_schedule(struct work *work, int flags);
@@ -148,9 +151,8 @@ void work_report_periodic_event(void);
/*
* This init operation provides :
- * - works can be scheduled
- * - module fully initialized
+ * - work / work queue initialization and scheduling
*/
-INIT_OP_DECLARE(work_setup);
+INIT_OP_DECLARE(work_bootstrap);
#endif /* _KERN_WORK_H */