summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-06-29 10:07:10 +0200
committerTejun Heo <tj@kernel.org>2010-06-29 10:07:10 +0200
commit22df02bb3fab24af97bff4c69cc6fd8529fc66fe (patch)
tree125b00589e5abe4dc941a1dba467cd50563ad195 /tools
parent97e37d7b9e65a6ac939f796f91081135b7a08acc (diff)
downloadop-kernel-dev-22df02bb3fab24af97bff4c69cc6fd8529fc66fe.zip
op-kernel-dev-22df02bb3fab24af97bff4c69cc6fd8529fc66fe.tar.gz
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: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud