aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 8762f62103d..4f4fdba722c 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -24,8 +24,9 @@ typedef void (*work_func_t)(struct work_struct *work);
24 24
25enum { 25enum {
26 WORK_STRUCT_PENDING_BIT = 0, /* work item is pending execution */ 26 WORK_STRUCT_PENDING_BIT = 0, /* work item is pending execution */
27 WORK_STRUCT_LINKED_BIT = 1, /* next work is linked to this one */
27#ifdef CONFIG_DEBUG_OBJECTS_WORK 28#ifdef CONFIG_DEBUG_OBJECTS_WORK
28 WORK_STRUCT_STATIC_BIT = 1, /* static initializer (debugobjects) */ 29 WORK_STRUCT_STATIC_BIT = 2, /* static initializer (debugobjects) */
29 WORK_STRUCT_COLOR_SHIFT = 3, /* color for workqueue flushing */ 30 WORK_STRUCT_COLOR_SHIFT = 3, /* color for workqueue flushing */
30#else 31#else
31 WORK_STRUCT_COLOR_SHIFT = 2, /* color for workqueue flushing */ 32 WORK_STRUCT_COLOR_SHIFT = 2, /* color for workqueue flushing */
@@ -34,6 +35,7 @@ enum {
34 WORK_STRUCT_COLOR_BITS = 4, 35 WORK_STRUCT_COLOR_BITS = 4,
35 36
36 WORK_STRUCT_PENDING = 1 << WORK_STRUCT_PENDING_BIT, 37 WORK_STRUCT_PENDING = 1 << WORK_STRUCT_PENDING_BIT,
38 WORK_STRUCT_LINKED = 1 << WORK_STRUCT_LINKED_BIT,
37#ifdef CONFIG_DEBUG_OBJECTS_WORK 39#ifdef CONFIG_DEBUG_OBJECTS_WORK
38 WORK_STRUCT_STATIC = 1 << WORK_STRUCT_STATIC_BIT, 40 WORK_STRUCT_STATIC = 1 << WORK_STRUCT_STATIC_BIT,
39#else 41#else