diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 905ce72c8c4e..134e2106f467 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -379,7 +379,7 @@ struct mem_cgroup { | |||
379 | static size_t memcg_size(void) | 379 | static size_t memcg_size(void) |
380 | { | 380 | { |
381 | return sizeof(struct mem_cgroup) + | 381 | return sizeof(struct mem_cgroup) + |
382 | nr_node_ids * sizeof(struct mem_cgroup_per_node); | 382 | nr_node_ids * sizeof(struct mem_cgroup_per_node *); |
383 | } | 383 | } |
384 | 384 | ||
385 | /* internal only representation about the status of kmem accounting. */ | 385 | /* internal only representation about the status of kmem accounting. */ |