diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 14:42:24 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 14:42:24 +1100 |
commit | 4990cb01d1082c5e337df9e8f5027b393a6a4185 (patch) | |
tree | d4f8a2a75230dc85303895d865dad63b0750de8d /include | |
parent | 2d78974a9e2322ceaa10b34785191ce3c6a6c7b9 (diff) | |
parent | a45463cbf3f9dcdae683033c256f50bded513d6a (diff) |
Merge remote-tracking branch 'workqueues/for-next'
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index a26cc437293c..bde063cefd04 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -106,9 +106,9 @@ struct work_struct { #endif }; -#define WORK_DATA_INIT() ATOMIC_LONG_INIT(WORK_STRUCT_NO_POOL) +#define WORK_DATA_INIT() ATOMIC_LONG_INIT((unsigned long)WORK_STRUCT_NO_POOL) #define WORK_DATA_STATIC_INIT() \ - ATOMIC_LONG_INIT(WORK_STRUCT_NO_POOL | WORK_STRUCT_STATIC) + ATOMIC_LONG_INIT((unsigned long)(WORK_STRUCT_NO_POOL | WORK_STRUCT_STATIC)) struct delayed_work { struct work_struct work; |