diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2014-01-21 06:45:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-01-28 15:34:02 +0100 |
commit | f8fe23ec4e89b58e63085ea92348aff3bcca3e14 (patch) | |
tree | c7ecc240b1be5714624b39d08f564fe0b3d33e06 /arch/arm/kernel/head.S | |
parent | ARM: 7938/1: OMAP4/highbank: Flush L2 cache before disabling (diff) | |
download | linux-f8fe23ec4e89b58e63085ea92348aff3bcca3e14.tar.xz linux-f8fe23ec4e89b58e63085ea92348aff3bcca3e14.zip |
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 <comelton@cisco.com>
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/head.S')
0 files changed, 0 insertions, 0 deletions