diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-04-14 11:51:33 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-04-14 11:51:33 -0400 |
| commit | 85a3685852d9ac7d92be9d824533c915a4597fa4 (patch) | |
| tree | b7c542e2061cf96c9f7ad500fa12567f9ff0b39f /include/linux/workqueue.h | |
| parent | 92bac83dd79e60e65c475222e41a992a70434beb (diff) | |
| parent | 8b8a518ef16be2de27207991e32fc32b0475c767 (diff) | |
Merge branch 'next' into for-linus
Prepare first round of input updates for 4.1 merge window.
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index b996e6cde6bb..f597846ff605 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
| @@ -70,7 +70,8 @@ enum { | |||
| 70 | /* data contains off-queue information when !WORK_STRUCT_PWQ */ | 70 | /* data contains off-queue information when !WORK_STRUCT_PWQ */ |
| 71 | WORK_OFFQ_FLAG_BASE = WORK_STRUCT_COLOR_SHIFT, | 71 | WORK_OFFQ_FLAG_BASE = WORK_STRUCT_COLOR_SHIFT, |
| 72 | 72 | ||
| 73 | WORK_OFFQ_CANCELING = (1 << WORK_OFFQ_FLAG_BASE), | 73 | __WORK_OFFQ_CANCELING = WORK_OFFQ_FLAG_BASE, |
| 74 | WORK_OFFQ_CANCELING = (1 << __WORK_OFFQ_CANCELING), | ||
| 74 | 75 | ||
| 75 | /* | 76 | /* |
| 76 | * When a work item is off queue, its high bits point to the last | 77 | * When a work item is off queue, its high bits point to the last |
| @@ -220,14 +221,10 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } | |||
| 220 | #endif | 221 | #endif |
| 221 | 222 | ||
| 222 | #define INIT_WORK(_work, _func) \ | 223 | #define INIT_WORK(_work, _func) \ |
| 223 | do { \ | 224 | __INIT_WORK((_work), (_func), 0) |
| 224 | __INIT_WORK((_work), (_func), 0); \ | ||
| 225 | } while (0) | ||
| 226 | 225 | ||
| 227 | #define INIT_WORK_ONSTACK(_work, _func) \ | 226 | #define INIT_WORK_ONSTACK(_work, _func) \ |
| 228 | do { \ | 227 | __INIT_WORK((_work), (_func), 1) |
| 229 | __INIT_WORK((_work), (_func), 1); \ | ||
| 230 | } while (0) | ||
| 231 | 228 | ||
| 232 | #define __INIT_DELAYED_WORK(_work, _func, _tflags) \ | 229 | #define __INIT_DELAYED_WORK(_work, _func, _tflags) \ |
| 233 | do { \ | 230 | do { \ |
