diff options
Diffstat (limited to 'include/asm-powerpc/kprobes.h')
-rw-r--r-- | include/asm-powerpc/kprobes.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/asm-powerpc/kprobes.h b/include/asm-powerpc/kprobes.h index 7c98e547c6d8..42ece411435a 100644 --- a/include/asm-powerpc/kprobes.h +++ b/include/asm-powerpc/kprobes.h | |||
@@ -71,15 +71,7 @@ struct kprobe_ctlblk { | |||
71 | struct prev_kprobe prev_kprobe; | 71 | struct prev_kprobe prev_kprobe; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | #ifdef CONFIG_KPROBES | ||
75 | extern int kprobe_exceptions_notify(struct notifier_block *self, | 74 | extern int kprobe_exceptions_notify(struct notifier_block *self, |
76 | unsigned long val, void *data); | 75 | unsigned long val, void *data); |
77 | #else /* !CONFIG_KPROBES */ | ||
78 | static inline int kprobe_exceptions_notify(struct notifier_block *self, | ||
79 | unsigned long val, void *data) | ||
80 | { | ||
81 | return 0; | ||
82 | } | ||
83 | #endif | ||
84 | #endif /* __KERNEL__ */ | 76 | #endif /* __KERNEL__ */ |
85 | #endif /* _ASM_POWERPC_KPROBES_H */ | 77 | #endif /* _ASM_POWERPC_KPROBES_H */ |