aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/kprobes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/kprobes.h')
-rw-r--r--include/asm-powerpc/kprobes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/kprobes.h b/include/asm-powerpc/kprobes.h
index 89dee13c2a4c..f466bc804f41 100644
--- a/include/asm-powerpc/kprobes.h
+++ b/include/asm-powerpc/kprobes.h
@@ -33,6 +33,7 @@
33#define __ARCH_WANT_KPROBES_INSN_SLOT 33#define __ARCH_WANT_KPROBES_INSN_SLOT
34 34
35struct pt_regs; 35struct pt_regs;
36struct kprobe;
36 37
37typedef unsigned int kprobe_opcode_t; 38typedef unsigned int kprobe_opcode_t;
38#define BREAKPOINT_INSTRUCTION 0x7fe00008 /* trap */ 39#define BREAKPOINT_INSTRUCTION 0x7fe00008 /* trap */
@@ -50,7 +51,7 @@ typedef unsigned int kprobe_opcode_t;
50 51
51#define ARCH_SUPPORTS_KRETPROBES 52#define ARCH_SUPPORTS_KRETPROBES
52void kretprobe_trampoline(void); 53void kretprobe_trampoline(void);
53extern void arch_remove_kprobe(struct kprobe *p, struct semaphore *s); 54extern void arch_remove_kprobe(struct kprobe *p);
54 55
55/* Architecture specific copy of original instruction */ 56/* Architecture specific copy of original instruction */
56struct arch_specific_insn { 57struct arch_specific_insn {