Thread (6 messages) 6 messages, 4 authors, 2011-06-30

Re: [PATCH v3 2/2] powerpc: add support for MPIC message register API

From: Scott Wood <hidden>
Date: 2011-06-17 16:58:28
Also in: linux-devicetree

Possibly related (same subject, not in this thread)

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help