On Fri, 17 Jun 2011 15:33:04 +1000 Benjamin Herrenschmidt <b...@kernel.crashing.org> wrote:
> On Tue, 2011-05-31 at 14:19 -0500, Meador Inge wrote: > > +void mpic_msgr_enable(struct mpic_msgr *msgr) > > +{ > > + out_be32(msgr->mer, in_be32(msgr->mer) | (1 << msgr->num)); > > +} > > +EXPORT_SYMBOL(mpic_msgr_enable); > > Why are all those exported non-GPL ? We have a policy of making new > in-kernel APIs generally GPL only. >From Documentation/DocBook/kernel-hacking.tmpl: <sect1 id="sym-exportsymbols-gpl"> <title><function>EXPORT_SYMBOL_GPL()</function> <filename class="headerfile">include/linux/module.h</filename></title> <para> Similar to <function>EXPORT_SYMBOL()</function> except that the symbols exported by <function>EXPORT_SYMBOL_GPL()</function> can only be seen by modules with a <function>MODULE_LICENSE()</function> that specifies a GPL compatible license. It implies that the function is considered an internal implementation issue, and not really an interface. </para> </sect1> When did this change from "considered an internal implementation issue, and not really an interface" to "all new interfaces"? -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev