diff options
Diffstat (limited to 'include/asm-s390/kprobes.h')
-rw-r--r-- | include/asm-s390/kprobes.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/include/asm-s390/kprobes.h b/include/asm-s390/kprobes.h index b847ff0ec3fa..830fe4c4eea6 100644 --- a/include/asm-s390/kprobes.h +++ b/include/asm-s390/kprobes.h | |||
@@ -97,18 +97,10 @@ void kretprobe_trampoline(void); | |||
97 | int is_prohibited_opcode(kprobe_opcode_t *instruction); | 97 | int is_prohibited_opcode(kprobe_opcode_t *instruction); |
98 | void get_instruction_type(struct arch_specific_insn *ainsn); | 98 | void get_instruction_type(struct arch_specific_insn *ainsn); |
99 | 99 | ||
100 | int kprobe_fault_handler(struct pt_regs *regs, int trapnr); | ||
101 | int kprobe_exceptions_notify(struct notifier_block *self, | ||
102 | unsigned long val, void *data); | ||
103 | |||
100 | #define flush_insn_slot(p) do { } while (0) | 104 | #define flush_insn_slot(p) do { } while (0) |
101 | 105 | ||
102 | #endif /* _ASM_S390_KPROBES_H */ | 106 | #endif /* _ASM_S390_KPROBES_H */ |
103 | |||
104 | #ifdef CONFIG_KPROBES | ||
105 | |||
106 | extern int kprobe_exceptions_notify(struct notifier_block *self, | ||
107 | unsigned long val, void *data); | ||
108 | #else /* !CONFIG_KPROBES */ | ||
109 | static inline int kprobe_exceptions_notify(struct notifier_block *self, | ||
110 | unsigned long val, void *data) | ||
111 | { | ||
112 | return 0; | ||
113 | } | ||
114 | #endif | ||