Re: do_initcalls

2013-03-19 Thread Tobias Boege
On Tue, 19 Mar 2013, ishare wrote: /** * module_init() - driver initialization entry point * @x: function to be run at kernel boot time or module insertion * * module_init() will either be called during do_initcalls() (if * builtin) or at module insertion time (if a module

Re: do_initcalls

2013-03-18 Thread Tobias Boege
* * module_init() will either be called during do_initcalls() (if * builtin) or at module insertion time (if a module). There can only * be one per module. */ Regards, Tobi ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: do_initcalls

2013-03-18 Thread ishare
initialization entry point * @x: function to be run at kernel boot time or module insertion * * module_init() will either be called during do_initcalls() (if * builtin) or at module insertion time (if a module). There can only * be one per module. */ Does this mean it chould

do_initcalls

2013-03-17 Thread ishare
for (call = __initcall_start; call __initcall_end; call++) (*call)(); I want to know where are these function point assigned by specified function ? thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: do_initcalls

2013-03-17 Thread Tobias Boege
On Sun, 17 Mar 2013, ishare wrote: for (call = __initcall_start; call __initcall_end; call++) (*call)(); I want to know where are these function point assigned by specified function ? thanks! As per include/asm-generic/vmlinux.lds.h and your arch's vmlinux.lds.S (I actually

Re: do_initcalls

2013-03-17 Thread ishare
On Sun, Mar 17, 2013 at 04:11:54PM +0100, Tobias Boege wrote: On Sun, 17 Mar 2013, ishare wrote: for (call = __initcall_start; call __initcall_end; call++) (*call)(); I want to know where are these function point assigned by specified function ? thanks! As per