mm_init() functions in kernel code

Vikram Narayanan vikram186 at gmail.com
Tue May 17 21:43:28 EDT 2011


Hi,

I saw two mm_init functions in the kernel source code.
1) init/main.c    (http://lxr.linux.no/#linux+v2.6.38/init/main.c#L530)
2) kernel/fork.c (http://lxr.linux.no/#linux+v2.6.38/kernel/fork.c#L482)

Are the above functions go inside a single binary? How this doesn't
produce a redefinition error?

Thanks,
Vikram



More information about the Kernelnewbies mailing list