datapath: Make 'struct work_struct' consistent with kernel definition.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 20 Jun 2012 00:22:54 +0000 (17:22 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 20 Jun 2012 00:22:54 +0000 (17:22 -0700)
commit699fec8cc02d2e2a367e64e89f5c64b902d3555a
treecb67b77cb4594a263d6a7de53712d9534d87a12a
parent4512aaa792c35cfb59710b951288f7a7394f3a73
datapath: Make 'struct work_struct' consistent with kernel definition.

From kernel 3.4 netdevice structure has delayed_work in
net_device->pm_qos_req. delayed_work needs work_struct definition.
OVS has its own workq implementation which redefines work_struct.
So we need to make it consistent with work_struct defined
in kernel workqueue.h to have correct net_device definition.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/workqueue.h