#define AUX_CORE_BOOT0_PA                      0x48281800
 #define API_HYP_ENTRY                          0x102
 
+ENTRY(omap_secondary_startup)
+#ifdef CONFIG_SMP
+       b       secondary_startup
+#else
+/* Should never get here */
+again: wfi
+       b       again
+#endif
+#ENDPROC(omap_secondary_startup)
+
 /*
  * OMAP5 specific entry point for secondary CPU to jump from ROM
  * code.  This routine also provides a holding flag into which
        and     r4, r4, #0x0f
        cmp     r0, r4
        bne     wait
-       b       secondary_startup
+       b       omap_secondary_startup
 ENDPROC(omap5_secondary_startup)
 /*
  * Same as omap5_secondary_startup except we call into the ROM to
        adr     r0, hyp_boot
        smc     #0
 hyp_boot:
-       b       secondary_startup
+       b       omap_secondary_startup
 ENDPROC(omap5_secondary_hyp_startup)
 /*
  * OMAP4 specific entry point for secondary CPU to jump from ROM
         * we've been released from the wait loop,secondary_stack
         * should now contain the SVC stack for this core
         */
-       b       secondary_startup
+       b       omap_secondary_startup
 ENDPROC(omap4_secondary_startup)
 
 ENTRY(omap4460_secondary_startup)
         * we've been released from the wait loop,secondary_stack
         * should now contain the SVC stack for this core
         */
-       b       secondary_startup
+       b       omap_secondary_startup
 ENDPROC(omap4460_secondary_startup)