[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120118150007.GA18315@suse.de>
Date: Wed, 18 Jan 2012 07:00:07 -0800
From: Greg KH <gregkh@...e.de>
To: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc: Pekka Enberg <penberg@...nel.org>,
Leonid Moiseichuk <leonid.moiseichuk@...ia.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
cesarb@...arb.net, kamezawa.hiroyu@...fujitsu.com,
emunson@...bm.net, aarcange@...hat.com, riel@...hat.com,
mel@....ul.ie, rientjes@...gle.com, dima@...roid.com,
rebecca@...roid.com, san@...gle.com, akpm@...ux-foundation.org,
vesa.jaaskelainen@...ia.com
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists