lkml.org 
[lkml]   [2011]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectmodule_init in linux kernel
From
When one is writing a module, are module_init and module_exit
mandatory. I understand that module_init and module_exit are just
macro which place functions in special .text area. Is there is not
module_init or module_exit defined, is there any default to take over
or the kernel will panic when the module is loaded.

Thanks

Xin


\
 
 \ /
  Last update: 2011-11-13 13:15    [W:0.031 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site