Re: Building a kernel with a driver

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

 



On Tue, Jul 30, 2002 at 01:48:17PM +0530, Shifani.bose@lntinfotech.com wrote: 
> and your initialization function should be preceded by 
> __init ur_init_func( ); 
> 
> kernel 2.4 takes care of calling ur initialization function when it is
> preceded by __init 

well i've heard and seen about the __init prefix. however in my personal
kernel hacks i don't use it and i add the the init function in the
init/main.c. what's wrong with it?

thanks in advance, 
gianluca
--
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