post x86 merge section mismatch fixes
Hello Marcin,
I have applied your patches on my fresh 2.6.27-git2 kernel and the section mismatches are now fixed, just remaining the following:
Quoted 18 lines
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x347): Section mismatch in reference from the function
fpu_init()to the function .init.text:init_thread_xstate() The function__cpuinitfpu_init()references
a function__initinit_thread_xstate().
Ifinit_thread_xstateis only used byfpu_initthen
annotateinit_thread_xstatewith a matching annotation.WARNING: kernel/built-in.o(.text+0x10690): Section mismatch in reference from the function
notify_cpu_starting()to the variable .cpuinit.data:cpu_chain The functionnotify_cpu_starting()references
the variable__cpuinitdatacpu_chain.
This is often becausenotify_cpu_startinglacks a__cpuinitdata
annotation or the annotation ofcpu_chainis wrong.WARNING:
vmlinux.o(.text+0x33264): Section mismatch in reference from the functionnotify_cpu_starting()to the variable .cpuinit.data:cpu_chain The functionnotify_cpu_starting()references
the variable__cpuinitdatacpu_chain.
This is often becausenotify_cpu_startinglacks a__cpuinitdata
annotation or the annotation ofcpu_chainis wrong.
Quoted 5 lines
WARNING:
vmlinux.o(.cpuinit.text+0x605): Section mismatch in reference from the functionfpu_init()to the function .init.text:init_thread_xstate() The function__cpuinitfpu_init()references
a function__initinit_thread_xstate().
Ifinit_thread_xstateis only used byfpu_initthen
annotateinit_thread_xstatewith a matching annotation.
Thanks and regards.