aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kprobes.h
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-07-07 05:21:40 -0400
committerTixy <tixy@medhuaa1.miniserver.com>2011-07-13 13:32:41 -0400
commit6c8df3300f60cae54aeb2a6dda8efe7ffe16a322 (patch)
treec7cac1abd0d5a46db1a4b4b3785238874822218b /arch/arm/kernel/kprobes.h
parent1b59d874660be7f790861ad849858cc009089515 (diff)
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);
36 36
37extern kprobe_check_cc * const kprobe_condition_checks[16]; 37extern kprobe_check_cc * const kprobe_condition_checks[16];
38 38
39extern int str_pc_offset;
40
39/* 41/*
40 * Test if load/store instructions writeback the address register. 42 * Test if load/store instructions writeback the address register.
41 * if P (bit 24) == 0 or W (bit 21) == 1 43 * if P (bit 24) == 0 or W (bit 21) == 1