From: Benjamin Herrenschmidt Date: Mon, 23 Sep 2013 02:04:45 +0000 (+1000) Subject: powerpc: Endian safe trampoline X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c0484e25ec03243d4c2f2d4416d4a13efc77f6a;p=pandora-kernel.git 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 Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed