https://github.com/torvalds/linux
Revision d6cd989477e2fee29ccda257614ef7b2621d0601 authored by Taras Kondratiuk on 10 January 2014, 00:36:00 UTC, committed by Russell King on 11 January 2014, 12:06:59 UTC
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 <victor.kamensky@linaro.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 261521f
History
Tip revision: d6cd989477e2fee29ccda257614ef7b2621d0601 authored by Taras Kondratiuk on 10 January 2014, 00:36:00 UTC
ARM: 7939/1: traps: fix opcode endianness when read from user memory
Tip revision: d6cd989
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.2 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 260.4 KB
Makefile -rw-r--r-- 48.2 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top