Re: using symbol from module in kernel code??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 06, 2002 at 08:02:41AM +0000, Pooja Gupta wrote:
>    I have exported a symbol from a module.  Now, I
> want to use this symbol from the standard kernel code.
>
>    However, during the time of compilation of the
> kernel, it gives error since the symbol is not present
> in the kernel code and exported from a module.  

... which shouldn't come as a surprise.

>    How do I use a symbol exported from a module from
> the kernel code?

The usual way is to let the module register a callback function with
the kernel, much in the same way as interrupt handlers and device
drivers do it.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, 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/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux