From: Sam Ravnborg Date: Wed, 30 Jan 2008 12:33:37 +0000 (+0100) Subject: x86: fix section mismatch warning in setup_64.c X-Git-Tag: v2.6.25-rc1~1143^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb8daed46356d1772e8bd8def1b70c8cb58ce12;p=pandora-kernel.git x86: fix section mismatch warning in setup_64.c Fix the following warning: WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x7a3): Section mismatch: reference to .init.text:amd_detect_cmp in 'init_amd' The function amd_detect_cmp were annotated __init and was only used from init_amd() which are annotated __cpuinit. Annotate amd_detect_cmp() with _cpuinit to fix it. Signed-off-by: Sam Ravnborg Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed