summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 14:42:24 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 14:42:24 +1100
commit4990cb01d1082c5e337df9e8f5027b393a6a4185 (patch)
treed4f8a2a75230dc85303895d865dad63b0750de8d
parent2d78974a9e2322ceaa10b34785191ce3c6a6c7b9 (diff)
parenta45463cbf3f9dcdae683033c256f50bded513d6a (diff)
Merge remote-tracking branch 'workqueues/for-next'
-rw-r--r--include/linux/workqueue.h4
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;