]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
DocBook: update EXPORT_SYMBOL entry to point at export.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 14 Feb 2013 20:32:04 +0000 (15:32 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Feb 2013 09:39:48 +0000 (10:39 +0100)
Previously we used to get EXPORT_SYMBOL and friends from
module.h but we moved away from that since module.h largely
includes the entire header space one way or another.

As most users just wanted the simple export related macros,
they were spun off into a separate new header -- export.h
Update the docs to reflect that.

Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/DocBook/kernel-hacking.tmpl

index eee71426ecb8e80b627c2db6266252713e7124f5..a23bc375b5ad6ad50648bbe53bc749070aaa7dcc 100644 (file)
@@ -945,7 +945,7 @@ printk(KERN_INFO "my ip: %pI4\n", &amp;ipaddress);
 
   <sect1 id="sym-exportsymbols">
    <title><function>EXPORT_SYMBOL()</function>
-    <filename class="headerfile">include/linux/module.h</filename></title>
+    <filename class="headerfile">include/linux/export.h</filename></title>
 
    <para>
     This is the classic method of exporting a symbol: dynamically
@@ -955,7 +955,7 @@ printk(KERN_INFO "my ip: %pI4\n", &amp;ipaddress);
 
   <sect1 id="sym-exportsymbols-gpl">
    <title><function>EXPORT_SYMBOL_GPL()</function>
-    <filename class="headerfile">include/linux/module.h</filename></title>
+    <filename class="headerfile">include/linux/export.h</filename></title>
 
    <para>
     Similar to <function>EXPORT_SYMBOL()</function> except that the