powerpc: Fix SMP issues with ppc64le ABIv2
authorAnton Blanchard <anton@samba.org>
Tue, 11 Mar 2014 00:54:06 +0000 (11:54 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:26 +0000 (10:05 +1000)
commit2751b628c97e66e61f482935ca59148751972941
tree86ef576395f448da30512daea224c1f1bf258807
parentd51959d70ffc55d1c829e881a6121e6fbbfb29af
powerpc: Fix SMP issues with ppc64le ABIv2

There is no need to put a function descriptor in
__secondary_hold_spinloop. Use ppc_function_entry to get the
instruction address and put it in __secondary_hold_spinloop instead.

Also fix an issue where we assumed cur_cpu_spec held a function
descriptor.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/85xx/smp.c
arch/powerpc/platforms/cell/smp.c
arch/powerpc/platforms/powernv/smp.c
arch/powerpc/platforms/pseries/smp.c
arch/powerpc/platforms/wsp/scom_smp.c