From: Jiri Olsa Date: Tue, 24 Jun 2014 08:20:24 +0000 (+0200) Subject: perf: Make perf_event_init_context() function static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=985c8dcbe15ddd8a1b98dc6b9c6403cb5d7012ab;p=openwrt%2Fstaging%2Fblogic.git perf: Make perf_event_init_context() function static Leftover from '8dc85d5 perf: Multiple task contexts'. Signed-off-by: Jiri Olsa Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim Link: http://lkml.kernel.org/r/1403598026-2310-1-git-send-email-jolsa@kernel.org Signed-off-by: Ingo Molnar --- 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;