]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Fix unreliable MRS instruction tests
authorJon Medhurst (Tixy) <tixy@linaro.org>
Mon, 5 Jan 2015 11:29:40 +0000 (19:29 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 13 Jan 2015 16:10:17 +0000 (16:10 +0000)
commit227ba40a2d94dad43e85cf9efab153b1bd3133ce
tree9418dd882418266bcbd60e0d7d757615b02ac6d0
parent8535faea4ae23d445d75474afb8f0c000ebfe670
ARM: kprobes: Fix unreliable MRS instruction tests

For the instruction 'mrs Rn, cpsr' the resulting value of Rn can vary due to
external factors we can't control. So get the test code to mask out these
indeterminate bits.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/probes/kprobes/test-arm.c
arch/arm/probes/kprobes/test-core.c
arch/arm/probes/kprobes/test-core.h
arch/arm/probes/kprobes/test-thumb.c