]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Fix emulation of CMP, CMN, TST and TEQ instructions.
authorJon Medhurst <tixy@yxit.co.uk>
Wed, 6 Apr 2011 10:17:11 +0000 (11:17 +0100)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 29 Apr 2011 03:40:55 +0000 (23:40 -0400)
commit2ec6f14faacf9625e4fd0cbeb57a0a67f68ddc1c
treef99fc1a1dd357e431f8be4ca0b9784d8ad7797f8
parentd42e273a956486ea89aabae8c486e9b2f78e1ad0
ARM: kprobes: Fix emulation of CMP, CMN, TST and TEQ instructions.

Probing these instructions was corrupting R0 because the emulation code
didn't account for the fact that they don't write a result to a
register.

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