Skip to content

Commit

Permalink
perf: Make __perf_event_sched_out static
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Frederic Weisbecker committed Jan 17, 2010
1 parent 0eda738 commit 42cce92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 42cce92

Please sign in to comment.