Re: use of EXPORT_SYMBOL()

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

 



On Sun, Dec 04, 2005 at 06:06:48AM -0500, Sabyasachi Pradhan wrote:

> Hi,

Hi,

>     Just wanted to know the use of EXPORT_SYMBOL() which appears in quite
> some files in the linux kernel. If I am writing a loadable module and I
> need to export some symbol form some file in the kernel, what all steps
> should I need to  take ?

for your development, simply place the EXPORT_SYMBOL()'s directly below 
the functions you want to export (as long as they are not static).

If you need the EXPORT_SYMBOL()'s in the mainline kernel, send the patch 
to add them when you submit your module for inclusion in the kernel.

> regards,
> 
> --sabyasachi

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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