datapath: Make 'struct work_struct' consistent with kernel definition.
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / workqueue.h
index 79158f9..cb48863 100644 (file)
@@ -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)