summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/probes.c
diff options
context:
space:
mode:
authorDavid A. Long <dave.long@linaro.org>2014-03-05 21:20:25 -0500
committerDavid A. Long <dave.long@linaro.org>2014-03-18 16:39:38 -0400
commiteb73ea97e63bb06bf98ff052615ce181bc7f69ec (patch)
treed55b8de968809e2128df85137010cbac4c9b5f56 /arch/arm/kernel/probes.c
parentf145d664df502585618b12ed68c681f82153e02a (diff)
downloadlinux-stable-eb73ea97e63bb06bf98ff052615ce181bc7f69ec.tar.gz
linux-stable-eb73ea97e63bb06bf98ff052615ce181bc7f69ec.tar.bz2
linux-stable-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.c')
-rw-r--r--arch/arm/kernel/probes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kernel/probes.c b/arch/arm/kernel/probes.c
index c1cdc0d27e05..92d359a22843 100644
--- a/arch/arm/kernel/probes.c
+++ b/arch/arm/kernel/probes.c
@@ -76,7 +76,7 @@ void __init test_alu_write_pc_interworking(void)
#endif /* !test_alu_write_pc_interworking */
-void __init arm_kprobe_decode_init(void)
+void __init arm_probes_decode_init(void)
{
find_str_pc_offset();
test_load_write_pc_interworking();
@@ -175,13 +175,13 @@ probes_check_cc * const probes_condition_checks[16] = {
};
-void __kprobes kprobe_simulate_nop(probes_opcode_t opcode,
+void __kprobes probes_simulate_nop(probes_opcode_t opcode,
struct arch_specific_insn *asi,
struct pt_regs *regs)
{
}
-void __kprobes kprobe_emulate_none(probes_opcode_t opcode,
+void __kprobes probes_emulate_none(probes_opcode_t opcode,
struct arch_specific_insn *asi,
struct pt_regs *regs)
{