From: Sam Ravnborg Date: Fri, 1 Feb 2008 16:49:42 +0000 (+0100) Subject: x86: fix section mismatch warning in acpi/boot.c X-Git-Tag: v2.6.25-rc1~1081^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=009cbadb6e9364e0b006ef6531953c0eced1db4d;p=pandora-kernel.git x86: fix section mismatch warning in acpi/boot.c Fix following warning: WARNING: o-x86_64/arch/x86/kernel/built-in.o(.text+0x13d15): Section mismatch in reference from the function acpi_map_lsapic() to the function .cpuinit.text:mp_register_lapic() The function acpi_map_lsapic() is exported and thus not annotated. But the sole user is acpi/processor_core.c in a __cpuinit path. So create a small wrapper and put back the annotation thus avoiding the warning. Signed-off-by: Sam Ravnborg Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed