[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get_module_symbol missing in 2.4?
On Mon, May 07, 2001 at 11:42:45AM -0500, Timur Tabi wrote:
> ** Reply to message from John Levon <moz@compsoc.man.ac.uk> on Sat, 5 May 2001
> 02:44:28 +0100 (BST)
>
>
> > inter_module_*
> >
> > They have usage documentation inline, or you can read about them on kernelnewbies.org
>
> I've searched kernelnewbies.org, and for the life of me I can't find any
> documentation on the inter_module_* stuff. There's no search facility, there's
> nothing in the FAQ, example code, or glossary. Can you give me a clue as to
> where it is?
Ehm, you're right, it's not there yet. The documentation is in
kernel/module.c, but it's not yet included in the kernel API book. Try
this patch (against linux-2.4.4, but will apply to other kernel
versions as well) and type "make {psdocs|pdfdocs|htmldocs}" to generate
the documentation.
Erik
Index: Documentation/DocBook//Makefile
===================================================================
RCS file: /home/erik/cvsroot/elinux/Documentation/DocBook/Makefile,v
retrieving revision 1.1.1.25
diff -u -r1.1.1.25 Makefile
--- Documentation/DocBook//Makefile 2001/04/26 12:44:59 1.1.1.25
+++ Documentation/DocBook//Makefile 2001/05/07 17:51:15
@@ -95,6 +98,7 @@
$(TOPDIR)/kernel/pm.c \
$(TOPDIR)/kernel/ksyms.c \
$(TOPDIR)/kernel/kmod.c \
+ $(TOPDIR)/kernel/module.c \
$(TOPDIR)/kernel/printk.c \
$(TOPDIR)/kernel/sched.c \
$(TOPDIR)/kernel/sysctl.c \
Index: Documentation/DocBook//kernel-api.tmpl
===================================================================
RCS file: /home/erik/cvsroot/elinux/Documentation/DocBook/kernel-api.tmpl,v
retrieving revision 1.1.1.20
diff -u -r1.1.1.20 kernel-api.tmpl
--- Documentation/DocBook//kernel-api.tmpl 2001/04/26 12:45:00 1.1.1.20
+++ Documentation/DocBook//kernel-api.tmpl 2001/05/07 17:59:04
@@ -140,8 +140,13 @@
</chapter>
<chapter id="modload">
- <title>Module Loading</title>
+ <title>Module Support</title>
+ <sect1><title>Module Loading</title>
!Ekernel/kmod.c
+ </sect1>
+ <sect1><title>Inter Module support</title>
+!Ekernel/module.c
+ </sect1>
</chapter>
<chapter id="hardware">
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/