aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kprobes-test.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-08-27 07:41:05 -0400
committerJon Medhurst <tixy@yxit.co.uk>2011-09-20 14:17:43 -0400
commitc0cc6df16394da020242a54d577848f9edd9dc50 (patch)
tree5a4da2ef6eeffad38d5771cd1ed8a000a6dbf037 /arch/arm/kernel/kprobes-test.c
parentc7054aad538c18bc4c311e74a24cb2e205f02e04 (diff)
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)
1139 if (ret) 1139 if (ret)
1140 goto out; 1140 goto out;
1141 1141
1142 pr_info("ARM instruction simulation\n");
1143 ret = run_test_cases(kprobe_arm_test_cases);
1144 if (ret)
1145 goto out;
1146
1142#else /* CONFIG_THUMB2_KERNEL */ 1147#else /* CONFIG_THUMB2_KERNEL */
1143 1148
1144 pr_info("Probe 16-bit Thumb code\n"); 1149 pr_info("Probe 16-bit Thumb code\n");