]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: setup_trampoline() - fix section mismatch warning
authorJacek Luczak <difrost.kernel@gmail.com>
Thu, 10 Apr 2008 19:16:41 +0000 (21:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:37 +0000 (17:41 +0200)
commite223f162a1d37aeeaa6c1ee37d81cc084aa2b004
tree63abd73bcbe7cdd3ee758929cfa3da12e277486b
parentdf96323dfaebdf7e17cdf0656096e6ab2158ec76
x86: setup_trampoline() - fix section mismatch warning

this patch fixes section mismatch warnings (on x86_64 host) in setup_trampoline(),
which was referencing __initdata variables trampoline_data and trampoline_end.

Warning messages:
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x2b6a): Section mismatch in reference from the function setup_trampoline()
to the variable .init.data:trampoline_data
The function __cpuinit setup_trampoline() references
a variable __initdata trampoline_data.
If trampoline_data is only used by setup_trampoline then
annotate trampoline_data with a matching annotation.

WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x2b71): Section mismatch in reference from the function setup_trampoline()
to the variable .init.data:trampoline_end
The function __cpuinit setup_trampoline() references
a variable __initdata trampoline_end.
If trampoline_end is only used by setup_trampoline then
annotate trampoline_end with a matching annotation.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/trampoline_64.S