workqueue: merge feature parameters into flags
authorTejun Heo <tj@kernel.org>
Tue, 29 Jun 2010 08:07:10 +0000 (10:07 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 29 Jun 2010 08:07:10 +0000 (10:07 +0200)
commit97e37d7b9e65a6ac939f796f91081135b7a08acc
tree1125644ee13ecf0825688502aa4a7495008cc88e
parent4690c4ab56c71919893ca25252f2dd65b58188c7
workqueue: merge feature parameters into flags

Currently, __create_workqueue_key() takes @singlethread and
@freezeable paramters and store them separately in workqueue_struct.
Merge them into a single flags parameter and field and use
WQ_FREEZEABLE and WQ_SINGLE_THREAD.

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/workqueue.h
kernel/workqueue.c