summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kprobes-test.h
diff options
context:
space:
mode:
authorJon Medhurst2011-08-27 13:40:30 +0200
committerJon Medhurst2011-09-20 20:17:43 +0200
commitc7054aad538c18bc4c311e74a24cb2e205f02e04 (patch)
tree436e5b6bf57c756ab1b6fd1c95064b49edb49334 /arch/arm/kernel/kprobes-test.h
parentARM: kprobes: Framework for instruction set test cases (diff)
downloadkernel-qcow2-linux-c7054aad538c18bc4c311e74a24cb2e205f02e04.tar.gz
kernel-qcow2-linux-c7054aad538c18bc4c311e74a24cb2e205f02e04.tar.xz
kernel-qcow2-linux-c7054aad538c18bc4c311e74a24cb2e205f02e04.zip
ARM: kprobes: Add Thumb 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.h')
-rw-r--r--arch/arm/kernel/kprobes-test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/kernel/kprobes-test.h b/arch/arm/kernel/kprobes-test.h
index 50ecc2a36434..7d982290908f 100644
--- a/arch/arm/kernel/kprobes-test.h
+++ b/arch/arm/kernel/kprobes-test.h
@@ -382,3 +382,9 @@ struct test_arg_end {
#define VALR 0xdeaddead
#define HH1 0x0123fecb
#define HH2 0xa9874567
+
+
+#ifdef CONFIG_THUMB2_KERNEL
+void kprobe_thumb16_test_cases(void);
+void kprobe_thumb32_test_cases(void);
+#endif