From: Victor Kamensky Date: Tue, 21 Jan 2014 05:45:11 +0000 (+0100) Subject: ARM: 7946/1: asm: __und_usr_thumb need byteswap instructions in BE case X-Git-Tag: v3.14-rc1~58^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8fe23ec4e89b58e63085ea92348aff3bcca3e14;p=pandora-kernel.git ARM: 7946/1: asm: __und_usr_thumb need byteswap instructions in BE case __und_usr_thumb function deals with thumb2 opcodes. In case of BE image, it needs to byteswap half word thumb2 encoded instructions before further processing them. Without this fix BE image user-land thread executing first VFP instruction encoded in thumb2 fails with SIGILL, because kernel does not recognize instruction and does not enable VFP. Reported-by: Corey Melton Signed-off-by: Victor Kamensky Tested-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed