msm: pm-8x60: Move hotplug related code out of pm code.
Move hotplug related code into hotplug.c and compile hotplug.c only when
CONFIG_HOTPLUG_CPU is defined.
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Change-Id: Ia9aa7a64e9831f52431c77c22f30fb64892efaea
diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c
index 93624a3c..0838c2c 100644
--- a/arch/arm/mach-msm/platsmp.c
+++ b/arch/arm/mach-msm/platsmp.c
@@ -166,9 +166,7 @@
{
pr_debug("CPU%u: Booted secondary processor\n", cpu);
-#ifdef CONFIG_HOTPLUG_CPU
- WARN_ON(msm_pm_platform_secondary_init(cpu));
-#endif
+ WARN_ON(msm_platform_secondary_init(cpu));
trace_hardirqs_off();