From: Ben Dooks Date: Fri, 1 Feb 2013 09:40:42 +0000 (+0000) Subject: ARM: set BE8 if LE in head code X-Git-Tag: v3.13-rc1~103^2~1^2~2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97bcb0fea590d3d704f985bec08f342d28992634;p=pandora-kernel.git ARM: set BE8 if LE in head code If we are booting in LE and compiled for BE8, then add code to set the state to bE8. Since the instruction stream is always LE, we do not need to do anything special to the instruction. Also ensure that the secondary processors are started in the same mode. Note, we do add about 20 bytes to the kernel image, but it seems easier to do this than adding another configuration to change. Signed-off-by: Ben Dooks Reviewed-by: Dave Martin Tested-by: Thomas Petazzoni --- Reading git-diff-tree failed