Re: Priority the init call will follow in kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux