[PATCH 46/63] powerpc: Add endian safe trampoline to pseries secondary thread entry
Anton Blanchard
anton at samba.org
Wed Aug 7 02:02:03 EST 2013
We might need to flip endian when starting secondary threads via
RTAS.
Signed-off-by: Anton Blanchard <anton at samba.org>
---
arch/powerpc/kernel/head_64.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index 065d10f..2ae41ab 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -207,6 +207,7 @@ _GLOBAL(generic_secondary_thread_init)
* as SCOM before entry).
*/
_GLOBAL(generic_secondary_smp_init)
+ FIXUP_ENDIAN
mr r24,r3
mr r25,r4
--
1.8.1.2
More information about the Linuxppc-dev
mailing list