From: Stephen Boyd Date: Sat, 19 Feb 2011 03:14:09 +0000 (-0800) Subject: msm: headsmp.S: Fix section mismatch X-Git-Tag: firefly_0821_release~7613^2~2161^2~16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0693a317b609a5d31d29e26c4f28ea079d5477f4;p=firefly-linux-kernel-4.4.55.git msm: headsmp.S: Fix section mismatch WARNING: vmlinux.o(.cpuinit.text+0xc80): Section mismatch in reference from the function boot_secondary() to the variable .init.text:msm_secondary_startup The function __cpuinit boot_secondary() references a variable __init msm_secondary_startup. If msm_secondary_startup is only used by boot_secondary then annotate msm_secondary_startup with a matching annotation. Signed-off-by: Stephen Boyd Signed-off-by: David Brown --- diff --git a/arch/arm/mach-msm/headsmp.S b/arch/arm/mach-msm/headsmp.S index d0c214338df9..0c631a9f8647 100644 --- a/arch/arm/mach-msm/headsmp.S +++ b/arch/arm/mach-msm/headsmp.S @@ -11,7 +11,7 @@ #include #include - __INIT + __CPUINIT /* * MSM specific entry point for secondary CPUs. This provides