diff options
author | David A. Long <dave.long@linaro.org> | 2014-03-05 21:17:23 -0500 |
---|---|---|
committer | David A. Long <dave.long@linaro.org> | 2014-03-18 16:39:37 -0400 |
commit | f145d664df502585618b12ed68c681f82153e02a (patch) | |
tree | 0cf9994b469e8e9342e1444725381d05fa8715e8 /arch/arm/include/asm | |
parent | 7579f4b3764337b39087d10496af0e741cbfe570 (diff) |
ARM: Make the kprobes condition_check symbol names more generic
In preparation for sharing the ARM kprobes instruction interpreting
code with uprobes, make the symbols names less kprobes-specific.
Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/probes.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/include/asm/probes.h b/arch/arm/include/asm/probes.h index 4d014c4aa1e7..c4acf6c8a2d4 100644 --- a/arch/arm/include/asm/probes.h +++ b/arch/arm/include/asm/probes.h | |||
@@ -20,22 +20,23 @@ | |||
20 | #define _ASM_PROBES_H | 20 | #define _ASM_PROBES_H |
21 | 21 | ||
22 | struct kprobe; | 22 | struct kprobe; |
23 | typedef u32 probes_opcode_t; | ||
23 | 24 | ||
24 | struct arch_specific_insn; | 25 | struct arch_specific_insn; |
25 | typedef void (kprobe_insn_handler_t)(kprobe_opcode_t, | 26 | typedef void (kprobe_insn_handler_t)(probes_opcode_t, |
26 | struct arch_specific_insn *, | 27 | struct arch_specific_insn *, |
27 | struct pt_regs *); | 28 | struct pt_regs *); |
28 | typedef unsigned long (kprobe_check_cc)(unsigned long); | 29 | typedef unsigned long (probes_check_cc)(unsigned long); |
29 | typedef void (kprobe_insn_singlestep_t)(kprobe_opcode_t, | 30 | typedef void (kprobe_insn_singlestep_t)(probes_opcode_t, |
30 | struct arch_specific_insn *, | 31 | struct arch_specific_insn *, |
31 | struct pt_regs *); | 32 | struct pt_regs *); |
32 | typedef void (kprobe_insn_fn_t)(void); | 33 | typedef void (kprobe_insn_fn_t)(void); |
33 | 34 | ||
34 | /* Architecture specific copy of original instruction. */ | 35 | /* Architecture specific copy of original instruction. */ |
35 | struct arch_specific_insn { | 36 | struct arch_specific_insn { |
36 | kprobe_opcode_t *insn; | 37 | probes_opcode_t *insn; |
37 | kprobe_insn_handler_t *insn_handler; | 38 | kprobe_insn_handler_t *insn_handler; |
38 | kprobe_check_cc *insn_check_cc; | 39 | probes_check_cc *insn_check_cc; |
39 | kprobe_insn_singlestep_t *insn_singlestep; | 40 | kprobe_insn_singlestep_t *insn_singlestep; |
40 | kprobe_insn_fn_t *insn_fn; | 41 | kprobe_insn_fn_t *insn_fn; |
41 | }; | 42 | }; |