perf: Make __perf_event_sched_out static
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 17 Jan 2010 09:36:08 +0000 (10:36 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 17 Jan 2010 12:08:01 +0000 (13:08 +0100)
__perf_event_sched_out doesn't need to be globally available, make
it static.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
kernel/perf_event.c

index eae6ff69360477c8fb0f610fe016a017bf9203a8..c4e90b8cd60d460c77795e61cfc48004b9bbe633 100644 (file)
@@ -1049,8 +1049,8 @@ static int perf_event_refresh(struct perf_event *event, int refresh)
        return 0;
 }
 
-void __perf_event_sched_out(struct perf_event_context *ctx,
-                             struct perf_cpu_context *cpuctx)
+static void __perf_event_sched_out(struct perf_event_context *ctx,
+                                  struct perf_cpu_context *cpuctx)
 {
        struct perf_event *event;