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>
3 files changed