diff options
Diffstat (limited to 'include/linux/hw_breakpoint.h')
-rw-r--r-- | include/linux/hw_breakpoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hw_breakpoint.h b/include/linux/hw_breakpoint.h index 42da1ce19ec0..69f07a9f1277 100644 --- a/include/linux/hw_breakpoint.h +++ b/include/linux/hw_breakpoint.h | |||
@@ -55,7 +55,7 @@ register_user_hw_breakpoint(struct perf_event_attr *attr, | |||
55 | struct task_struct *tsk); | 55 | struct task_struct *tsk); |
56 | 56 | ||
57 | /* FIXME: only change from the attr, and don't unregister */ | 57 | /* FIXME: only change from the attr, and don't unregister */ |
58 | extern struct perf_event * | 58 | extern int |
59 | modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); | 59 | modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); |
60 | 60 | ||
61 | /* | 61 | /* |
@@ -91,7 +91,7 @@ static inline struct perf_event * | |||
91 | register_user_hw_breakpoint(struct perf_event_attr *attr, | 91 | register_user_hw_breakpoint(struct perf_event_attr *attr, |
92 | perf_overflow_handler_t triggered, | 92 | perf_overflow_handler_t triggered, |
93 | struct task_struct *tsk) { return NULL; } | 93 | struct task_struct *tsk) { return NULL; } |
94 | static inline struct perf_event * | 94 | static inline int |
95 | modify_user_hw_breakpoint(struct perf_event *bp, | 95 | modify_user_hw_breakpoint(struct perf_event *bp, |
96 | struct perf_event_attr *attr) { return NULL; } | 96 | struct perf_event_attr *attr) { return NULL; } |
97 | static inline struct perf_event * | 97 | static inline struct perf_event * |