projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Make 'struct work_struct' consistent with kernel definition.
[openvswitch]
/
datapath
/
linux
/
compat
/
include
/
linux
/
workqueue.h
diff --git
a/datapath/linux/compat/include/linux/workqueue.h
b/datapath/linux/compat/include/linux/workqueue.h
index 79158f965b699f4e1538598fa6caae9d90e78eb1..cb488638882ea41a6d60603b2f710e57d237ac3c 100644
(file)
--- a/
datapath/linux/compat/include/linux/workqueue.h
+++ b/
datapath/linux/compat/include/linux/workqueue.h
@@
-25,6
+25,9
@@
struct work_struct {
atomic_long_t data;
struct list_head entry;
work_func_t func;
+#ifdef CONFIG_LOCKDEP
+ struct lockdep_map lockdep_map;
+#endif
};
#define WORK_DATA_INIT() ATOMIC_LONG_INIT(0)