lkml.org 
[lkml]   [2006]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: specifying the order of calling kernel functions (or modules)
On Sat, 7 Oct 2006 23:41:39 +0900 Seongsu Lee wrote:

> Hello,
>
> Thank you for the replys.
>
> I try to phrase differently.
>
> I made a simple kernel module that do 'hello world'. The module will be
> called when I do 'modprobe' or 'insmod' to load it into the memory.
>
> When is the function, init_module(), in the module called in the case
> the module is compiled as a built-in one? (Not M but Y in .config)
> Can I specify the exact time of calling the function, init_module() in
> the module?

That depends on the order that it is listed in the (nested)
Makefiles. Which sub-directory and Makefile will you use?

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-10-07 17:29    [from the cache]
©2003-2011 Jasper Spaans