ARM: kprobes: Extend arch_specific_insn to add pointer to emulated instruction
[pandora-kernel.git] / arch / arm / include / asm / kprobes.h
index 1e9ff56..feec867 100644 (file)
@@ -34,6 +34,7 @@ struct kprobe;
 typedef void (kprobe_insn_handler_t)(struct kprobe *, struct pt_regs *);
 typedef unsigned long (kprobe_check_cc)(unsigned long);
 typedef void (kprobe_insn_singlestep_t)(struct kprobe *, struct pt_regs *);
+typedef void (kprobe_insn_fn_t)(void);
 
 /* Architecture specific copy of original instruction. */
 struct arch_specific_insn {
@@ -41,6 +42,7 @@ struct arch_specific_insn {
        kprobe_insn_handler_t           *insn_handler;
        kprobe_check_cc                 *insn_check_cc;
        kprobe_insn_singlestep_t        *insn_singlestep;
+       kprobe_insn_fn_t                *insn_fn;
 };
 
 struct prev_kprobe {