diff options
Diffstat (limited to 'include/asm-powerpc/kprobes.h')
-rw-r--r-- | include/asm-powerpc/kprobes.h | 3 |
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 | ||
35 | struct pt_regs; | 35 | struct pt_regs; |
36 | struct kprobe; | ||
36 | 37 | ||
37 | typedef unsigned int kprobe_opcode_t; | 38 | typedef 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 |
52 | void kretprobe_trampoline(void); | 53 | void kretprobe_trampoline(void); |
53 | extern void arch_remove_kprobe(struct kprobe *p, struct semaphore *s); | 54 | extern void arch_remove_kprobe(struct kprobe *p); |
54 | 55 | ||
55 | /* Architecture specific copy of original instruction */ | 56 | /* Architecture specific copy of original instruction */ |
56 | struct arch_specific_insn { | 57 | struct arch_specific_insn { |