diff options
author | Jon Medhurst <tixy@yxit.co.uk> | 2011-07-07 10:21:40 +0100 |
---|---|---|
committer | Tixy <tixy@medhuaa1.miniserver.com> | 2011-07-13 17:32:41 +0000 |
commit | 6c8df3300f60cae54aeb2a6dda8efe7ffe16a322 (patch) | |
tree | c7cac1abd0d5a46db1a4b4b3785238874822218b /arch/arm/kernel/kprobes.h | |
parent | 1b59d874660be7f790861ad849858cc009089515 (diff) | |
download | talos-op-linux-6c8df3300f60cae54aeb2a6dda8efe7ffe16a322.tar.gz talos-op-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.h | 2 |
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 |