From mboxrd@z Thu Jan 1 00:00:00 1970 From: dshwatrz@gmail.com (David Shwatrz) Date: Mon, 11 Apr 2011 23:04:55 +0300 Subject: order of call to built-in modules Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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). 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