mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
0eda7385db
commit
42cce92f4d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue