Messages in this thread | | | Date | Wed, 18 Jan 2012 07:00:07 -0800 | From | Greg KH <> | Subject | Re: [PATCH v2 1/2] Making si_swapinfo exportable |
| |
On Wed, Jan 18, 2012 at 09:46:18AM -0500, Konrad Rzeszutek Wilk wrote: > > > > +EXPORT_SYMBOL(si_swapinfo); > > > > EXPORT_SYMBOL_GPL() perhaps? > > Greg, > > So.. could you tell when are suppose to do _GPL and when not? Is there > a policy of "new code must be _GPL" ? Or is there some extra "if .. then" > conditions?
It's up to the author of the code, what their preference is.
I just generally prefer _GPL for new exports.
thanks,
greg k-h
| |