summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kprobes-test.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-08-27 12:41:05 +0100
committerJon Medhurst <tixy@yxit.co.uk>2011-09-20 18:17:43 +0000
commitc0cc6df16394da020242a54d577848f9edd9dc50 (patch)
tree5a4da2ef6eeffad38d5771cd1ed8a000a6dbf037 /arch/arm/kernel/kprobes-test.c
parentc7054aad538c18bc4c311e74a24cb2e205f02e04 (diff)
downloadblackbird-op-linux-c0cc6df16394da020242a54d577848f9edd9dc50.tar.gz
blackbird-op-linux-c0cc6df16394da020242a54d577848f9edd9dc50.zip
ARM: kprobes: Add ARM instruction simulation test cases
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/kernel/kprobes-test.c')
-rw-r--r--arch/arm/kernel/kprobes-test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/kprobes-test.c b/arch/arm/kernel/kprobes-test.c
index 1cef0fa996e2..b12be0fe183c 100644
--- a/arch/arm/kernel/kprobes-test.c
+++ b/arch/arm/kernel/kprobes-test.c
@@ -1139,6 +1139,11 @@ static int __init run_all_tests(void)
if (ret)
goto out;
+ pr_info("ARM instruction simulation\n");
+ ret = run_test_cases(kprobe_arm_test_cases);
+ if (ret)
+ goto out;
+
#else /* CONFIG_THUMB2_KERNEL */
pr_info("Probe 16-bit Thumb code\n");
OpenPOWER on IntegriCloud