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

Re: changes required for making modular driver -> a buitl-in one



> 
>   Ok.. Thanks to Pavan, I have corrected myself and understood this better.
> The __init macro is in charge of putting the code in the .init.text segment.
> The __initcall macro is in charge of including the function in the list of
> initcalls.
> 
also, you might want to take a look at
http://geek.vtnet.ca/doc/initcall/kernel.html for an indepth
introduction to how it all works.

kind regards
anupam
-- 
if you need gmail invites, let me know !

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