diff options
author | ZhangZhen <zhenzhang.zhang@huawei.com> | 2014-03-27 09:41:47 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-29 09:33:03 -0400 |
commit | 59ff3eb6d6f75c6c1c3ea8b46ac2cc64eb216547 (patch) | |
tree | 5b5a6d394b1ad473fd689b054653a3e6603a4749 /include/linux/workqueue.h | |
parent | 41f50094b2ab4e37673e41a084ea61b907447159 (diff) | |
download | op-kernel-dev-59ff3eb6d6f75c6c1c3ea8b46ac2cc64eb216547.zip op-kernel-dev-59ff3eb6d6f75c6c1c3ea8b46ac2cc64eb216547.tar.gz |
workqueue: remove deprecated WQ_NON_REENTRANT
Tejun Heo has made WQ_NON_REENTRANT useless in the dbf2576e37
("workqueue: make all workqueues non-reentrant"). So remove its
usages and definition.
This patch doesn't introduce any behavior changes.
tj: minor description updates.
Signed-off-by: ZhangZhen <zhenzhang.zhang@huawei.com>
Sigend-off-by: Tejun Heo <tj@kernel.org>
Acked-by: James Chapman <jchapman@katalix.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 0523eab..5329946 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -284,12 +284,6 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } * Documentation/workqueue.txt. */ enum { - /* - * All wqs are now non-reentrant making the following flag - * meaningless. Will be removed. - */ - WQ_NON_REENTRANT = 1 << 0, /* DEPRECATED */ - WQ_UNBOUND = 1 << 1, /* not bound to any cpu */ WQ_FREEZABLE = 1 << 2, /* freeze during suspend */ WQ_MEM_RECLAIM = 1 << 3, /* may be used for memory reclaim */ |