On Fri, 17 Jun 2011 15:33:04 +1000
Benjamin Herrenschmidt [off-list ref] wrote:
On Tue, 2011-05-31 at 14:19 -0500, Meador Inge wrote:
quoted
+void mpic_msgr_enable(struct mpic_msgr *msgr)
+{
+ out_be32(msgr->mer, in_be32(msgr->mer) | (1 << msgr->num));
+}
+EXPORT_SYMBOL(mpic_msgr_enable);
=20
Why are all those exported non-GPL ? We have a policy of making new
in-kernel APIs generally GPL only.
=46rom Documentation/DocBook/kernel-hacking.tmpl:
<sect1 id=3D"sym-exportsymbols-gpl">
<title><function>EXPORT_SYMBOL_GPL()</function> =20
<filename class=3D"headerfile">include/linux/module.h</filename></title>
=20
<para> =20
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 =20
<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> =20
</sect1>
When did this change from "considered an internal implementation issue, and
not really an interface" to "all new interfaces"?
-Scott