diff options
author | Jiri Olsa <jolsa@redhat.com> | 2014-06-24 10:20:24 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-07-05 11:21:52 +0200 |
commit | 985c8dcbe15ddd8a1b98dc6b9c6403cb5d7012ab (patch) | |
tree | 6d8f319406c529cc7fcdaea38dbe05f32b52d6fc /kernel | |
parent | cc56d673a9902aecd1c03bea6479eaff6de6967a (diff) | |
download | blackbird-op-linux-985c8dcbe15ddd8a1b98dc6b9c6403cb5d7012ab.tar.gz blackbird-op-linux-985c8dcbe15ddd8a1b98dc6b9c6403cb5d7012ab.zip |
perf: Make perf_event_init_context() function static
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/events/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index a33d9a2bcbd7..67e3b9c9a7d4 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -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; |