aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2014-05-22 04:42:41 -0400
committerTejun Heo <tj@kernel.org>2014-05-22 11:35:50 -0400
commit73e4354444eef5251e5cdfd388ab02ef9f2e727e (patch)
treee54b4b1b59b1a74a793e82f41cbc5945d9a12cb8
parent51697d393922eb643e78ac5db86e8fa5a45b469a (diff)
workqueue: declare system_highpri_wq
system_highpri_wq is exported to modules via EXPORT_SYMBOL_GPL(), but it was forgotten to be declared in workqueue.h. So we add the declaration and a short description for it. tj: Minor comment tweak. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--include/linux/workqueue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index d93d28b2ec73..b263b29bd98b 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -340,6 +340,9 @@ enum {
340 * short queue flush time. Don't queue works which can run for too 340 * short queue flush time. Don't queue works which can run for too
341 * long. 341 * long.
342 * 342 *
343 * system_highpri_wq is similar to system_wq but for work items which
344 * require WQ_HIGHPRI.
345 *
343 * system_long_wq is similar to system_wq but may host long running 346 * system_long_wq is similar to system_wq but may host long running
344 * works. Queue flushing might take relatively long. 347 * works. Queue flushing might take relatively long.
345 * 348 *
@@ -358,6 +361,7 @@ enum {
358 * 'wq_power_efficient' is disabled. See WQ_POWER_EFFICIENT for more info. 361 * 'wq_power_efficient' is disabled. See WQ_POWER_EFFICIENT for more info.
359 */ 362 */
360extern struct workqueue_struct *system_wq; 363extern struct workqueue_struct *system_wq;
364extern struct workqueue_struct *system_highpri_wq;
361extern struct workqueue_struct *system_long_wq; 365extern struct workqueue_struct *system_long_wq;
362extern struct workqueue_struct *system_unbound_wq; 366extern struct workqueue_struct *system_unbound_wq;
363extern struct workqueue_struct *system_freezable_wq; 367extern struct workqueue_struct *system_freezable_wq;