<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 6, 2016, 5:35 PM Greg KH <<a href="mailto:greg@kroah.com">greg@kroah.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Nov 03, 2016 at 03:29:59AM +0800, Hao Zhang wrote:<br class="gmail_msg">
> hi, what's the sequence of the built in kernel module be probed?<br class="gmail_msg">
<br class="gmail_msg">
Link order.<br class="gmail_msg">
<br class="gmail_msg">
> and how to change it ?<br class="gmail_msg">
<br class="gmail_msg">
Change the order in which the modules are linked by moving their<br class="gmail_msg">
location in the Makefile.<br class="gmail_msg">
<br><a href="http://lxr.free-electrons.com/source/Documentation/kbuild/kbuild.txt">http://lxr.free-electrons.com/source/Documentation/kbuild/kbuild.txt</a></blockquote></div><div>There is a modules.order file which records the order of modules in the</div><div>Makefile.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hope this helps,<br class="gmail_msg">
<br class="gmail_msg">
greg k-h<br class="gmail_msg">
<br>A kernel newbie,<br class="gmail_msg"></blockquote></div><div>Amit Kumar</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br class="gmail_msg">
Kernelnewbies mailing list<br class="gmail_msg">
<a href="mailto:Kernelnewbies@kernelnewbies.org" class="gmail_msg" target="_blank">Kernelnewbies@kernelnewbies.org</a><br class="gmail_msg">
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br class="gmail_msg">
</blockquote></div>