commit | 5c0484e25ec03243d4c2f2d4416d4a13efc77f6a | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Sep 23 12:04:45 2013 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Oct 11 16:48:34 2013 +1100 |
tree | fe31fb5e5be50119f39d2e22953f13d8ace85cb1 | |
parent | c57a5ce0df04be61bafedc0f3043d568103c7ab5 [diff] |
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>