From: Frederic Weisbecker Date: Sun, 17 Jan 2010 09:36:08 +0000 (+0100) Subject: perf: Make __perf_event_sched_out static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42cce92f4ddfa41e2dfe26fdcad4887943c032f2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- 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;