diff options
-rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index edef8d50b26b..5b13dcf02714 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -121,8 +121,8 @@ struct execute_work { | |||
121 | * pending | 121 | * pending |
122 | * @work: The work item in question | 122 | * @work: The work item in question |
123 | */ | 123 | */ |
124 | #define delayed_work_pending(work) \ | 124 | #define delayed_work_pending(w) \ |
125 | test_bit(WORK_STRUCT_PENDING, &(work)->work.management) | 125 | work_pending(&(w)->work) |
126 | 126 | ||
127 | /** | 127 | /** |
128 | * work_release - Release a work item under execution | 128 | * work_release - Release a work item under execution |