]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Fix emulation of PLD instructions
authorJon Medhurst <tixy@yxit.co.uk>
Mon, 18 Apr 2011 07:53:57 +0000 (08:53 +0100)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 29 Apr 2011 03:40:59 +0000 (23:40 -0400)
commit119d98ed31b080035ead61fbeaf6fcef9932146d
tree778fedcc66cf4e15ca1e0eeb8502715bd84d021d
parent338cb8d41c112b84e36d0c1d3d6ee7b82c9c1b09
ARM: kprobes: Fix emulation of PLD instructions

The PLD instructions wasn't being decoded correctly and the emulation
code wasn't adjusting PC correctly.

As the PLD instruction is only a performance hint we emulate it as a
simple nop, and we can broaden the instruction decoding to take into
account newer PLI and PLDW instructions.

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