提交 42cce92f 编写于 作者: F Frederic Weisbecker

perf: Make __perf_event_sched_out static

__perf_event_sched_out doesn't need to be globally available, make
it static.
Signed-off-by: NFrederic 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>
上级 0eda7385
...@@ -1049,8 +1049,8 @@ static int perf_event_refresh(struct perf_event *event, int refresh) ...@@ -1049,8 +1049,8 @@ static int perf_event_refresh(struct perf_event *event, int refresh)
return 0; return 0;
} }
void __perf_event_sched_out(struct perf_event_context *ctx, static void __perf_event_sched_out(struct perf_event_context *ctx,
struct perf_cpu_context *cpuctx) struct perf_cpu_context *cpuctx)
{ {
struct perf_event *event; struct perf_event *event;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册