Re: question about loading a module

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

 



On Fri, May 19, 2006 at 10:04:58AM -0500, Jack Sparrow wrote:

> Hi,

Hi Jack,

> I am trying to use some functions (hrtimer_start, hrtimer_cancel etc)
> defined in hrtimer.h , hrtimer.c  in my kernel module. However, when  I
> looked into hrtimer.h , hrtimer.c , they dont have EXPORT_SYMBOL for these
> functions. Now, is there anyway in which I can use these functions in my
> module and load my module with insmod  (instead of  building the module into
> the kernel and making the entire kernel). Please let me know.

no, there is no way for you to use these symbols in a module.

For testing, you can simply add the EXPORT_SYMBOL's to the kernel.

When submitting your module for inclusion into the kernel, you should 
also submit a patch adding the EXPORT_SYMBOL's for the symbols your 
module uses.

> Thanks,
> Jack

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