summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-01-17 10:36:08 +0100
committerFrederic Weisbecker <fweisbec@gmail.com>2010-01-17 13:08:01 +0100
commit42cce92f4ddfa41e2dfe26fdcad4887943c032f2 (patch)
treee0e6761b371ca2a29db95ebfd45ea538e6669277 /kernel
parent0eda7385db1f30271ade830a231006938a76fb53 (diff)
downloadlinux-42cce92f4ddfa41e2dfe26fdcad4887943c032f2.tar.bz2
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')
-rw-r--r--kernel/perf_event.c4
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)
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;