Priority the init call will follow in kernel

Dave Hylands dhylands at gmail.com
Wed Feb 6 02:29:46 EST 2013


Hi,

On Tue, Feb 5, 2013 at 11:11 PM, Ranganath T.M <ranganathtm88 at gmail.com>
wrote:
>
> Hi Dave,
>
> Thanks a lot,
>
> I understand that core_init call for CPU, subsys_initcall for core module
like I2c core and module_init for driver built on the core.
>
> When will the need arises to call other init calls, kindly provide a
pointer to it.

You should just go to
http://lxr.linux.no/#linux+v3.7.6/

and search yourself.

Here's a call to arch_initcall:
http://lxr.linux.no/#linux+v3.7.6/arch/arm/mach-s3c2410/cpu-freq.c#L135
And one to fs_initcall:
http://lxr.linux.no/#linux+v3.7.6/fs/cachefiles/main.c#L92

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130205/a59aa6f1/attachment.html 


More information about the Kernelnewbies mailing list