aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorDavid A. Long <dave.long@linaro.org>2014-03-07 11:16:10 -0500
committerDavid A. Long <dave.long@linaro.org>2014-03-18 16:39:35 -0400
commitc18377c303787ded44b7decd7dee694db0f205e9 (patch)
tree431abbf7243c839c40a4524e56cde343afb0f53a /arch/arm/include/asm
parentb2531dd5e5f19ea01d67aed82d81c5f778ec0fb7 (diff)
ARM: Move generic arm instruction parsing code to new files for sharing between features
Move the arm version of the kprobes instruction parsing code into more generic files from where it can be used by uprobes and possibly other subsystems. The symbol names will be made more generic in a subsequent part of this patchset. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/probes.h b/arch/arm/include/asm/probes.h
index 90c5f5485202..737a9b310efc 100644
--- a/arch/arm/include/asm/probes.h
+++ b/arch/arm/include/asm/probes.h
@@ -19,6 +19,8 @@
19#ifndef _ASM_PROBES_H 19#ifndef _ASM_PROBES_H
20#define _ASM_PROBES_H 20#define _ASM_PROBES_H
21 21
22struct kprobe;
23
22typedef void (kprobe_insn_handler_t)(struct kprobe *, struct pt_regs *); 24typedef void (kprobe_insn_handler_t)(struct kprobe *, struct pt_regs *);
23typedef unsigned long (kprobe_check_cc)(unsigned long); 25typedef unsigned long (kprobe_check_cc)(unsigned long);
24typedef void (kprobe_insn_singlestep_t)(struct kprobe *, struct pt_regs *); 26typedef void (kprobe_insn_singlestep_t)(struct kprobe *, struct pt_regs *);