]> Git Repo - linux.git/commit
powerpc: Endian safe trampoline
authorBenjamin Herrenschmidt <[email protected]>
Mon, 23 Sep 2013 02:04:45 +0000 (12:04 +1000)
committerBenjamin Herrenschmidt <[email protected]>
Fri, 11 Oct 2013 05:48:34 +0000 (16:48 +1100)
commit5c0484e25ec03243d4c2f2d4416d4a13efc77f6a
treefe31fb5e5be50119f39d2e22953f13d8ace85cb1
parentc57a5ce0df04be61bafedc0f3043d568103c7ab5
powerpc: Endian safe trampoline

Create a trampoline that works in either endian and flips to
the expected endian. Use it for primary and secondary thread
entry as well as RTAS and OF call return.

Credit for finding the magic instruction goes to Paul Mackerras

Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/head_64.S
This page took 0.054265 seconds and 4 git commands to generate.