summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kprobes.h
diff options
context:
space:
mode:
authorJon Medhurst2011-07-07 11:21:40 +0200
committerTixy2011-07-13 19:32:41 +0200
commit6c8df3300f60cae54aeb2a6dda8efe7ffe16a322 (patch)
treec7cac1abd0d5a46db1a4b4b3785238874822218b /arch/arm/kernel/kprobes.h
parentARM: kprobes: Move is_writeback define to header file. (diff)
downloadkernel-qcow2-linux-6c8df3300f60cae54aeb2a6dda8efe7ffe16a322.tar.gz
kernel-qcow2-linux-6c8df3300f60cae54aeb2a6dda8efe7ffe16a322.tar.xz
kernel-qcow2-linux-6c8df3300f60cae54aeb2a6dda8efe7ffe16a322.zip
ARM: kprobes: Move find_str_pc_offset into kprobes-common.c
Move str_pc_offset into kprobes-common.c as it will be needed by common code later. Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/kernel/kprobes.h')
-rw-r--r--arch/arm/kernel/kprobes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/kprobes.h b/arch/arm/kernel/kprobes.h
index 4de2f37b1a85..43f630d7f03d 100644
--- a/arch/arm/kernel/kprobes.h
+++ b/arch/arm/kernel/kprobes.h
@@ -36,6 +36,8 @@ void __init arm_kprobe_decode_init(void);
extern kprobe_check_cc * const kprobe_condition_checks[16];
+extern int str_pc_offset;
+
/*
* Test if load/store instructions writeback the address register.
* if P (bit 24) == 0 or W (bit 21) == 1