diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2017-09-02 20:18:41 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-09-05 09:34:17 -0400 |
commit | fbf1c41fc0f4d3574ac2377245efd666c1fa3075 (patch) | |
tree | ed554b2930bd7e23bbd0c37f166e8a1774bc17a9 | |
parent | 058fc47ee22c60c817c362ef6844d40d8ebb8140 (diff) |
workqueue: Fix flag collision
Commit 0a94efb5acbb ("workqueue: implicit ordered attribute should be
overridable") introduced a __WQ_ORDERED_EXPLICIT flag but gave it the
same value as __WQ_LEGACY. I don't believe these were intended to
mean the same thing, so renumber __WQ_ORDERED_EXPLICIT.
Fixes: 0a94efb5acbb ("workqueue: implicit ordered attribute should be ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org # v4.13
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | include/linux/workqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index db6dc9dc0482..1c49431f3121 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -323,8 +323,8 @@ enum { | |||
323 | 323 | ||
324 | __WQ_DRAINING = 1 << 16, /* internal: workqueue is draining */ | 324 | __WQ_DRAINING = 1 << 16, /* internal: workqueue is draining */ |
325 | __WQ_ORDERED = 1 << 17, /* internal: workqueue is ordered */ | 325 | __WQ_ORDERED = 1 << 17, /* internal: workqueue is ordered */ |
326 | __WQ_ORDERED_EXPLICIT = 1 << 18, /* internal: alloc_ordered_workqueue() */ | ||
327 | __WQ_LEGACY = 1 << 18, /* internal: create*_workqueue() */ | 326 | __WQ_LEGACY = 1 << 18, /* internal: create*_workqueue() */ |
327 | __WQ_ORDERED_EXPLICIT = 1 << 19, /* internal: alloc_ordered_workqueue() */ | ||
328 | 328 | ||
329 | WQ_MAX_ACTIVE = 512, /* I like 512, better ideas? */ | 329 | WQ_MAX_ACTIVE = 512, /* I like 512, better ideas? */ |
330 | WQ_MAX_UNBOUND_PER_CPU = 4, /* 4 * #cpus for unbound wq */ | 330 | WQ_MAX_UNBOUND_PER_CPU = 4, /* 4 * #cpus for unbound wq */ |