Hi,
On Tue, Feb 5, 2013 at 11:11 PM, Ranganath T.M <ranganathtm88@xxxxxxxxx> 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
On Tue, Feb 5, 2013 at 11:11 PM, Ranganath T.M <ranganathtm88@xxxxxxxxx> 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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies