Re: mm section mismatches

Pekka J Enberg
2006-10-08T07:33:45Z

Hola Senor Morton,

On Fri, 6 Oct 2006, Andrew Morton wrote:
> i386 allmoconfig, -mm tree:
>
> WARNING: vmlinux - Section mismatch: reference to .init.data:initkmem_list3 from .text between 'set_up_list3s' (at offset 0xc016ba8e) and 'kmem_flagcheck'
>
> any takers?

setup_cpu_cache is a non-init function that calls set_up_list3s which is
init. However, due to g_cpucache_up, we will never hit the branch in
setup_cpu_cache that calls set_up_list3s.

No idea how to fix the warning. Due to g_cpucache_up, we need some entry
point that calls both init and non-init functions... Christoph?

Pekka