perf/cgroup: Add __percpu annotation to perf_cgroup->info
Namhyung Kim [Mon, 18 Mar 2013 09:56:34 +0000 (18:56 +0900)]
It's a per-cpu data structure but missed the __percpu annotation.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Link: http://lkml.kernel.org/r/1363600594-11453-1-git-send-email-namhyung@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

kernel/events/core.c

index 5976a2a..efb75b3 100644 (file)
@@ -245,7 +245,7 @@ struct perf_cgroup_info {
 
 struct perf_cgroup {
        struct cgroup_subsys_state      css;
-       struct perf_cgroup_info         *info;
+       struct perf_cgroup_info __percpu *info;
 };
 
 /*