perf/cgroup: Add __percpu annotation to perf_cgroup->info
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 18 Mar 2013 09:56:34 +0000 (18:56 +0900)
committerIngo Molnar <mingo@kernel.org>
Mon, 18 Mar 2013 10:02:06 +0000 (11:02 +0100)
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 5976a2a6b4ce27a1cf1849ba5092916fd4f9a225..efb75b3a69ad467e11a9b32d486b235d18695045 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;
 };
 
 /*