Skip to content
Commit 22df02bb authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: define masks for work flags and conditionalize STATIC flags



Work flags are about to see more traditional mask handling.  Define
WORK_STRUCT_*_BIT as the bit position constant and redefine
WORK_STRUCT_* as bit masks.  Also, make WORK_STRUCT_STATIC_* flags
conditional

While at it, re-define these constants as enums and use
WORK_STRUCT_STATIC instead of hard-coding 2 in
WORK_DATA_STATIC_INIT().

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 97e37d7b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment