summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/kprobes-test.h
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-08-27 12:40:30 +0100
committerJon Medhurst <tixy@yxit.co.uk>2011-09-20 18:17:43 +0000
commitc7054aad538c18bc4c311e74a24cb2e205f02e04 (patch)
tree436e5b6bf57c756ab1b6fd1c95064b49edb49334 /arch/arm/kernel/kprobes-test.h
parenta43bc69b39484a448293f2eddc7e98ff15437414 (diff)
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