From mboxrd@z Thu Jan 1 00:00:00 1970 From: mkatiyar@gmail.com (Manish Katiyar) Date: Mon, 11 Apr 2011 14:04:33 -0700 Subject: order of call to built-in modules In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Apr 11, 2011 at 1:04 PM, David Shwatrz wrote: > HI, > The macros module_init() and module_exit() are used both in case > a source is built-in (the code is called from the init stage) or as a > kernel module (implementing a init_module symbol). Yes its possible to change. Have a look at the function do_initcalls() where it traverses the table. > > In case 2 of /built-in/ modules ?I am wondering if it is > possible to know by advance the order used to call the various > module_init() entry points. Is it possible to fix this order? > rgs, > DS > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- Thanks - Manish