]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Fix emulation of LDRH, STRH, LDRSB and LDRSH instructions
authorJon Medhurst <tixy@yxit.co.uk>
Fri, 8 Apr 2011 14:32:54 +0000 (15:32 +0100)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 29 Apr 2011 03:40:56 +0000 (23:40 -0400)
commit7e7ceee1f0f7b85c3a84fba6bd6caf5d2233ab1e
tree44da95dd42e7b98e475a644f1aaac46310b69492
parentced2aae5341ad7f296d89f540f04218ec48ee436
ARM: kprobes: Fix emulation of LDRH, STRH, LDRSB and LDRSH instructions

The decoding of these instructions got the register indexed and
immediate indexed forms the wrong way around, causing incorrect
emulation.

Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/kernel/kprobes-decode.c