aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-05-22 06:32:15 -0400
committerIngo Molnar <mingo@elte.hu>2009-05-22 06:33:14 -0400
commit910431c7f2e963017d767b29c80ae706421e569f (patch)
treecf6c5f2a4185e01f4d4fa13e1eaf0dff61ad0b18
parent564c2b210add41df9a3a5aaa365c1d97cff6110d (diff)
perf_counter: fix !PERF_COUNTERS build failure
Update the !CONFIG_PERF_COUNTERS prototype too, for perf_counter_task_sched_out(). [ Impact: build fix ] Signed-off-by: Paul Mackerras <paulus@samba.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <18966.10666.517218.332164@cargo.ozlabs.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--include/linux/perf_counter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 4cae01a50450..2eedae8498d3 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -625,7 +625,8 @@ extern void perf_counter_init(void);
625static inline void 625static inline void
626perf_counter_task_sched_in(struct task_struct *task, int cpu) { } 626perf_counter_task_sched_in(struct task_struct *task, int cpu) { }
627static inline void 627static inline void
628perf_counter_task_sched_out(struct task_struct *task, int cpu) { } 628perf_counter_task_sched_out(struct task_struct *task,
629 struct task_struct *next, int cpu) { }
629static inline void 630static inline void
630perf_counter_task_tick(struct task_struct *task, int cpu) { } 631perf_counter_task_tick(struct task_struct *task, int cpu) { }
631static inline void perf_counter_init_task(struct task_struct *child) { } 632static inline void perf_counter_init_task(struct task_struct *child) { }