summaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-hacking/hacking.rst
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2019-09-06 11:32:33 +0100
committerJessica Yu <jeyu@kernel.org>2019-09-10 10:30:49 +0200
commitc4f4af4094d6c7dbca3acd8d04df2759d268a116 (patch)
treeb0474bf791055a62e2f491225d259a489825ae66 /Documentation/kernel-hacking/hacking.rst
parenteb8305aecb958e8787e7d603c7765c1dcace3a2b (diff)
downloadlinux-stable-c4f4af4094d6c7dbca3acd8d04df2759d268a116.tar.gz
linux-stable-c4f4af4094d6c7dbca3acd8d04df2759d268a116.tar.bz2
linux-stable-c4f4af4094d6c7dbca3acd8d04df2759d268a116.zip
docs: Add documentation for Symbol Namespaces
Describe using Symbol Namespaces from a perspective of a user. I.e. module authors or subsystem maintainers. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Matthias Maennich <maennich@google.com> Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'Documentation/kernel-hacking/hacking.rst')
-rw-r--r--Documentation/kernel-hacking/hacking.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index 5891a701a159..a3ddb213a5e1 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -594,6 +594,24 @@ internal implementation issue, and not really an interface. Some
maintainers and developers may however require EXPORT_SYMBOL_GPL()
when adding any new APIs or functionality.
+:c:func:`EXPORT_SYMBOL_NS()`
+----------------------------
+
+Defined in ``include/linux/export.h``
+
+This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol
+namespace. Symbol Namespaces are documented in
+``Documentation/kbuild/namespaces.rst``.
+
+:c:func:`EXPORT_SYMBOL_NS_GPL()`
+--------------------------------
+
+Defined in ``include/linux/export.h``
+
+This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol
+namespace. Symbol Namespaces are documented in
+``Documentation/kbuild/namespaces.rst``.
+
Routines and Conventions
========================