summaryrefslogtreecommitdiff
path: root/crypto/cast5.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-04-08 14:32:56 (GMT)
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-04-29 03:40:57 (GMT)
commit5c6b76fc7d8220e8f00e7a49fb56ca852d7fb661 (patch)
tree3e43c40877512fde3921351e59c38446ae70e400 /crypto/cast5.c
parent54823accfcfc715e9e757a621afb40dabc01d033 (diff)
downloadlinux-5c6b76fc7d8220e8f00e7a49fb56ca852d7fb661.tar.xz
ARM: kprobes: Fix emulation of LDRD and STRD instructions
The decoding of these instructions got the register indexed and immediate indexed forms the wrong way around, causing incorrect emulation. Instructions like "LDRD Rx, [Rx]" were corrupting Rx because the base register writeback was being performed unconditionally, overwriting the value just loaded from memory. The fix is to only writeback the base register when that form of the instruction is used. Note, now that we reject probing writeback with PC the emulation code doesn't need the check rn!=15. Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'crypto/cast5.c')
0 files changed, 0 insertions, 0 deletions