workqueue: implement WQ_NON_REENTRANT
[deliverable/linux.git] / include / linux / workqueue.h
index 0a7814131e666c4ad9f7932d9ce955cab1524e7b..07cf5e5f91cbf747d3b2e069be419d76fae4564e 100644 (file)
@@ -225,6 +225,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }
 enum {
        WQ_FREEZEABLE           = 1 << 0, /* freeze during suspend */
        WQ_SINGLE_CPU           = 1 << 1, /* only single cpu at a time */
+       WQ_NON_REENTRANT        = 1 << 2, /* guarantee non-reentrance */
 };
 
 extern struct workqueue_struct *
This page took 0.043381 seconds and 5 git commands to generate.