-
Taras Kondratiuk authored
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>
Taras Kondratiuk authoredCurrently 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>