diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-09-23 12:04:45 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 16:48:34 +1100 |
commit | 5c0484e25ec03243d4c2f2d4416d4a13efc77f6a (patch) | |
tree | fe31fb5e5be50119f39d2e22953f13d8ace85cb1 /init | |
parent | c57a5ce0df04be61bafedc0f3043d568103c7ab5 (diff) | |
download | op-kernel-dev-5c0484e25ec03243d4c2f2d4416d4a13efc77f6a.zip op-kernel-dev-5c0484e25ec03243d4c2f2d4416d4a13efc77f6a.tar.gz |
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 <benh@kernel.crashing.org>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions