X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fworkqueue.h;h=cb488638882ea41a6d60603b2f710e57d237ac3c;hb=6c4ea27c48b30eaec8e37e642d5072f53c5b2670;hp=79158f965b699f4e1538598fa6caae9d90e78eb1;hpb=ee5f04b7c29897d96b06ebb119ee131ea84183ec;p=openvswitch diff --git a/datapath/linux/compat/include/linux/workqueue.h b/datapath/linux/compat/include/linux/workqueue.h index 79158f96..cb488638 100644 --- 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)