diff options
author | David A. Long <dave.long@linaro.org> | 2014-03-05 21:20:25 -0500 |
---|---|---|
committer | David A. Long <dave.long@linaro.org> | 2014-03-18 16:39:38 -0400 |
commit | eb73ea97e63bb06bf98ff052615ce181bc7f69ec (patch) | |
tree | d55b8de968809e2128df85137010cbac4c9b5f56 /arch/arm/kernel/probes.h | |
parent | f145d664df502585618b12ed68c681f82153e02a (diff) |
ARM: Change more ARM kprobes symbol names to something more generic
Change kprobe_emulate_none, kprobe_simulate_nop, and arm_kprobe_decode_init
function names to something more appropriate for code being shared
outside of the kprobes subsystem. Also, move the new arm_probes_decode_init
declaration out of the kprobes.h include file and into the probes.h include file.
Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/arm/kernel/probes.h')
-rw-r--r-- | arch/arm/kernel/probes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/kernel/probes.h b/arch/arm/kernel/probes.h index 5a0497f5a8f7..dedff8a5a924 100644 --- a/arch/arm/kernel/probes.h +++ b/arch/arm/kernel/probes.h | |||
@@ -24,6 +24,8 @@ | |||
24 | #include <linux/kprobes.h> | 24 | #include <linux/kprobes.h> |
25 | #include "kprobes.h" | 25 | #include "kprobes.h" |
26 | 26 | ||
27 | void __init arm_probes_decode_init(void); | ||
28 | |||
27 | #if __LINUX_ARM_ARCH__ >= 7 | 29 | #if __LINUX_ARM_ARCH__ >= 7 |
28 | 30 | ||
29 | /* str_pc_offset is architecturally defined from ARMv7 onwards */ | 31 | /* str_pc_offset is architecturally defined from ARMv7 onwards */ |
@@ -131,9 +133,9 @@ static inline void __kprobes alu_write_pc(long pcv, struct pt_regs *regs) | |||
131 | } | 133 | } |
132 | 134 | ||
133 | 135 | ||
134 | void __kprobes kprobe_simulate_nop(probes_opcode_t, struct arch_specific_insn *, | 136 | void __kprobes probes_simulate_nop(probes_opcode_t, struct arch_specific_insn *, |
135 | struct pt_regs *regs); | 137 | struct pt_regs *regs); |
136 | void __kprobes kprobe_emulate_none(probes_opcode_t, struct arch_specific_insn *, | 138 | void __kprobes probes_emulate_none(probes_opcode_t, struct arch_specific_insn *, |
137 | struct pt_regs *regs); | 139 | struct pt_regs *regs); |
138 | 140 | ||
139 | enum kprobe_insn __kprobes | 141 | enum kprobe_insn __kprobes |