From: Taras Kondratiuk Date: Fri, 10 Jan 2014 00:36:00 +0000 (+0100) Subject: ARM: 7939/1: traps: fix opcode endianness when read from user memory X-Git-Tag: v3.13~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6cd989477e2fee29ccda257614ef7b2621d0601;p=pandora-kernel.git ARM: 7939/1: traps: fix opcode endianness when read from user memory Currently code has an inverted logic: opcode from user memory is swapped to a proper endianness only in case of read error. While normally opcode should be swapped only if it was read correctly from user memory. Reviewed-by: Victor Kamensky Signed-off-by: Ben Dooks Signed-off-by: Taras Kondratiuk Signed-off-by: Russell King --- Reading git-diff-tree failed