diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-01-17 04:36:08 -0500 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-01-17 07:08:01 -0500 |
commit | 42cce92f4ddfa41e2dfe26fdcad4887943c032f2 (patch) | |
tree | e0e6761b371ca2a29db95ebfd45ea538e6669277 /kernel/perf_event.c | |
parent | 0eda7385db1f30271ade830a231006938a76fb53 (diff) |
perf: Make __perf_event_sched_out static
__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>
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index eae6ff693604..c4e90b8cd60d 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -1049,8 +1049,8 @@ static int perf_event_refresh(struct perf_event *event, int refresh) | |||
1049 | return 0; | 1049 | return 0; |
1050 | } | 1050 | } |
1051 | 1051 | ||
1052 | void __perf_event_sched_out(struct perf_event_context *ctx, | 1052 | static void __perf_event_sched_out(struct perf_event_context *ctx, |
1053 | struct perf_cpu_context *cpuctx) | 1053 | struct perf_cpu_context *cpuctx) |
1054 | { | 1054 | { |
1055 | struct perf_event *event; | 1055 | struct perf_event *event; |
1056 | 1056 | ||