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)
commit4cd872d973c7e1ce6a41e36db9d9352152da32d4
tree9418dd882418266bcbd60e0d7d757615b02ac6d0
parent0dc016dbd820260b8ea74337980735b8c88d4ef2
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