diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-09-09 15:01:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-09 15:07:09 -0400 |
commit | 4e231c7962ce711c7d8c2a4dc23ecd1e8fc28363 (patch) | |
tree | 05af30e5c2f1084d8e77c89f0e55beaafa2194c0 /include/linux/perf_event.h | |
parent | 1b9a644fece117cfa5474a2388d6b89d1baf8ddf (diff) |
perf: Fix up delayed_put_task_struct()
I missed a perf_event_ctxp user when converting it to an array. Pull this
last user into perf_event.c as well and fix it up.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index c1173520f14d..93bf53aa50e5 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
@@ -889,6 +889,7 @@ extern void perf_event_task_sched_out(struct task_struct *task, struct task_stru | |||
889 | extern int perf_event_init_task(struct task_struct *child); | 889 | extern int perf_event_init_task(struct task_struct *child); |
890 | extern void perf_event_exit_task(struct task_struct *child); | 890 | extern void perf_event_exit_task(struct task_struct *child); |
891 | extern void perf_event_free_task(struct task_struct *task); | 891 | extern void perf_event_free_task(struct task_struct *task); |
892 | extern void perf_event_delayed_put(struct task_struct *task); | ||
892 | extern void set_perf_event_pending(void); | 893 | extern void set_perf_event_pending(void); |
893 | extern void perf_event_do_pending(void); | 894 | extern void perf_event_do_pending(void); |
894 | extern void perf_event_print_debug(void); | 895 | extern void perf_event_print_debug(void); |
@@ -1067,6 +1068,7 @@ perf_event_task_sched_out(struct task_struct *task, | |||
1067 | static inline int perf_event_init_task(struct task_struct *child) { return 0; } | 1068 | static inline int perf_event_init_task(struct task_struct *child) { return 0; } |
1068 | static inline void perf_event_exit_task(struct task_struct *child) { } | 1069 | static inline void perf_event_exit_task(struct task_struct *child) { } |
1069 | static inline void perf_event_free_task(struct task_struct *task) { } | 1070 | static inline void perf_event_free_task(struct task_struct *task) { } |
1071 | static inline void perf_event_delayed_put(struct task_struct *task) { } | ||
1070 | static inline void perf_event_do_pending(void) { } | 1072 | static inline void perf_event_do_pending(void) { } |
1071 | static inline void perf_event_print_debug(void) { } | 1073 | static inline void perf_event_print_debug(void) { } |
1072 | static inline int perf_event_task_disable(void) { return -EINVAL; } | 1074 | static inline int perf_event_task_disable(void) { return -EINVAL; } |