summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/probes.h
diff options
context:
space:
mode:
authorDavid A. Long2014-03-06 03:20:25 +0100
committerDavid A. Long2014-03-18 21:39:38 +0100
commiteb73ea97e63bb06bf98ff052615ce181bc7f69ec (patch)
treed55b8de968809e2128df85137010cbac4c9b5f56 /arch/arm/kernel/probes.h
parentARM: Make the kprobes condition_check symbol names more generic (diff)
downloadkernel-qcow2-linux-eb73ea97e63bb06bf98ff052615ce181bc7f69ec.tar.gz
kernel-qcow2-linux-eb73ea97e63bb06bf98ff052615ce181bc7f69ec.tar.xz
kernel-qcow2-linux-eb73ea97e63bb06bf98ff052615ce181bc7f69ec.zip
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.h6
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 @@
#include <linux/kprobes.h>
#include "kprobes.h"
+void __init arm_probes_decode_init(void);
+
#if __LINUX_ARM_ARCH__ >= 7
/* 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)
}
-void __kprobes kprobe_simulate_nop(probes_opcode_t, struct arch_specific_insn *,
+void __kprobes probes_simulate_nop(probes_opcode_t, struct arch_specific_insn *,
struct pt_regs *regs);
-void __kprobes kprobe_emulate_none(probes_opcode_t, struct arch_specific_insn *,
+void __kprobes probes_emulate_none(probes_opcode_t, struct arch_specific_insn *,
struct pt_regs *regs);
enum kprobe_insn __kprobes