msm: headsmp: Fix section mismatch warning

WARNING: vmlinux.o(.text+0x19c94): Section mismatch in reference
from the variable pen to the function
.cpuinit.text:secondary_startup()
The function pen() references
the function __cpuinit secondary_startup().
This is often because pen lacks a __cpuinit
annotation or the annotation of secondary_startup is wrong.

We use __ref for pm code because generic cpu hotplug code uses
__ref.  Fixing that problem is much larger in scope and the pm
code is correctly using the symbol.

Change-Id: I13906d525683d91def39703942ba1c8850b73494
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm-8x60.c b/arch/arm/mach-msm/pm-8x60.c
index c237013..a22b175 100644
--- a/arch/arm/mach-msm/pm-8x60.c
+++ b/arch/arm/mach-msm/pm-8x60.c
@@ -650,7 +650,7 @@
 }
 #endif
 
-static bool msm_pm_spm_power_collapse(
+static bool __ref msm_pm_spm_power_collapse(
 	unsigned int cpu, bool from_idle, bool notify_rpm)
 {
 	void *entry;