]> git.karo-electronics.de Git - linux-beck.git/commitdiff
perf_counter: fix !PERF_COUNTERS build failure
authorIngo Molnar <mingo@elte.hu>
Fri, 22 May 2009 10:32:15 +0000 (12:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 May 2009 10:33:14 +0000 (12:33 +0200)
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>
include/linux/perf_counter.h

index 4cae01a50450808e500716725e60ca51c723cfda..2eedae8498d3a9594120946ea2a19f27760b3edc 100644 (file)
@@ -625,7 +625,8 @@ extern void perf_counter_init(void);
 static inline void
 perf_counter_task_sched_in(struct task_struct *task, int cpu)          { }
 static inline void
-perf_counter_task_sched_out(struct task_struct *task, int cpu)         { }
+perf_counter_task_sched_out(struct task_struct *task,
+                           struct task_struct *next, int cpu)          { }
 static inline void
 perf_counter_task_tick(struct task_struct *task, int cpu)              { }
 static inline void perf_counter_init_task(struct task_struct *child)   { }