How to set work_struct data

Pankaj B xpankajbx at gmail.com
Thu Apr 21 06:22:54 EDT 2011


Hi,
Current INIT_WORK() macro takes just work_struct pointer and function
pointer.
In previous kernels there used to be a third parameter for data.
Is there a proper way to set data in work_struct?


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110421/23ea6b3b/attachment.html 


More information about the Kernelnewbies mailing list