msm: headsmp.S: Fix section mismatch
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 19 Feb 2011 03:14:09 +0000 (19:14 -0800)
committerDavid Brown <davidb@codeaurora.org>
Mon, 28 Feb 2011 20:40:05 +0000 (12:40 -0800)
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 <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/headsmp.S

index d0c2143..0c631a9 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/linkage.h>
 #include <linux/init.h>
 
-       __INIT
+       __CPUINIT
 
 /*
  * MSM specific entry point for secondary CPUs.  This provides