Re: [PATCH v2 1/2] Making si_swapinfo exportable

From: Greg KH
Date: Wed Jan 18 2012 - 10:02:20 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/