]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
perf: Make perf_event_init_context() function static
authorJiri Olsa <jolsa@redhat.com>
Tue, 24 Jun 2014 08:20:24 +0000 (10:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 5 Jul 2014 09:21:52 +0000 (11:21 +0200)
Leftover from '8dc85d5 perf: Multiple task contexts'.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1403598026-2310-1-git-send-email-jolsa@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c

index a33d9a2bcbd73840aeed6c89af9c3af574c09eeb..67e3b9c9a7d4cb4292b0aca8a79478001844f5ac 100644 (file)
@@ -7776,7 +7776,7 @@ inherit_task_group(struct perf_event *event, struct task_struct *parent,
 /*
  * Initialize the perf_event context in task_struct
  */
-int perf_event_init_context(struct task_struct *child, int ctxn)
+static int perf_event_init_context(struct task_struct *child, int ctxn)
 {
        struct perf_event_context *child_ctx, *parent_ctx;
        struct perf_event_context *cloned_ctx;