Am Mittwoch, den 11.04.2007, 15:11 -0400 schrieb Shuanglin Wang: > Hi All, > > I'm working on porting linux kernel 2.6.19 to an arm-based customized > board. But, I can't find where and who call init_machine. I just found > in "~/arch/arm/kernel/setup.c" init_machine is called by > customiz_machine(). And I can't find who calls customiz_machine() too. > > Can anybody help me to clean this calling issue? > > Thanks a lot. > > WSL
Hi, the arch_initcall(customize_machine) in setup.c causes the function to be called automatically during initialisation. If you want to know a little bit more behind the trickery, take a look at include/linux/init.h. Regards, Erwin _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
