projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ba39a
)
memcg: mark stat field of mem_cgroup struct as __percpu
author
Kirill A. Shutemov
<
[email protected]
>
Tue, 29 May 2012 22:06:56 +0000
(15:06 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 29 May 2012 23:22:25 +0000
(16:22 -0700)
It fixes a lot of sparse warnings.
Signed-off-by: Kirill A. Shutemov <
[email protected]
>
Acked-by: KAMEZAWA Hiroyuki <
[email protected]
>
Acked-by: Michal Hocko <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/memcontrol.c
patch
|
blob
|
history
diff --git
a/mm/memcontrol.c
b/mm/memcontrol.c
index 5c56765c848a7816bb89cd9b54977e6f0c5239f1..18becde87577233bd96e64ac7809142a03b12b26 100644
(file)
--- a/
mm/memcontrol.c
+++ b/
mm/memcontrol.c
@@
-304,7
+304,7
@@
struct mem_cgroup {
/*
* percpu counter.
*/
- struct mem_cgroup_stat_cpu *stat;
+ struct mem_cgroup_stat_cpu
__percpu
*stat;
/*
* used when a cpu is offlined or other synchronizations
* See mem_cgroup_read_stat().