Re: EXPORT_SYMBOL and module.h

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

 



 --- Greg KH <greg@xxxxxxxxx> escreveu: 
> On Thu, Dec 09, 2004 at 12:10:01PM -0300, Mauricio
> Lin wrote:
> > Hi all,
> > 
> > When I want to export a symbol from the kernel
> source
> > tree file using EXPORT_SYMBOL, is it always
> necessary
> > include the module.h header file in this file?
> 
> Yes.  Is that a problem?
No. I have noticed that all files that export a symbol
import module.h header file. When I removed the
module.h it does not work anymore. I mean the another
file that uses the outside symbol cannot locate the
symbol it needs.

>  

=====
************************************************
  Conhecimento vem do seu instrutor; 
  Sabedoria vem do seu interior.  
  (Bruce Lee)             
************************************************

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 

--
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