powerpc/64e: Fix secondary thread bringup for ELFv2 kernels
[sfrench/cifs-2.6.git] / arch / powerpc / kernel / head_64.S
index f132d8704263cd683f78eed26387aee0babef52c..6440b1bb332acfd7942020a65cd9f5461bc70546 100644 (file)
@@ -375,8 +375,7 @@ _GLOBAL(generic_secondary_smp_init)
        beq     20f
 
        /* start the specified thread */
-       LOAD_REG_ADDR(r5, fsl_secondary_thread_init)
-       ld      r4, 0(r5)
+       LOAD_REG_ADDR(r5, DOTSYM(fsl_secondary_thread_init))
        bl      book3e_start_thread
 
        /* stop the current thread */